This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via ffef701351d2b8121d7b0ddbffed3afd0285109d (commit)
from 37f30ca530fdee7ddad2b3c6ea31e890dd5f9f65 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ffef701351d2b8121d7b0ddbffed3afd0285109d
commit ffef701351d2b8121d7b0ddbffed3afd0285109d
Author: Marc-Etienne Vargenau <[email protected]>
Date: Tue May 9 10:41:57 2017 +0200
Use __construct; whitespace
diff --git a/src/common/mvc/Actions.class.php b/src/common/mvc/Actions.class.php
index ef1b0c2..eaed210 100644
--- a/src/common/mvc/Actions.class.php
+++ b/src/common/mvc/Actions.class.php
@@ -32,22 +32,23 @@
*/
class Actions {
- var $_controler;
- function Actions(&$controler) {
- $this->_controler =& $controler;
- }
+ var $_controler;
- function getControler() {
- return $this->_controler;
+ function __construct(&$controler) {
+ $this->_controler =& $controler;
}
- function check() {
- return true;
- }
+ function getControler() {
+ return $this->_controler;
+ }
- function process($action, $params = array()) {
- if($this->check()) {
- $this->$action($params);
- }
- }
+ function check() {
+ return true;
+ }
+
+ function process($action, $params = array()) {
+ if($this->check()) {
+ $this->$action($params);
+ }
+ }
}
-----------------------------------------------------------------------
Summary of changes:
src/common/mvc/Actions.class.php | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits