[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1799-g6721b63

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Tue May 9 10:46:57 CEST 2017


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  6721b63a42ac9d9d9dc5dca428466b39d1ee65ae (commit)
      from  ffef701351d2b8121d7b0ddbffed3afd0285109d (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=6721b63a42ac9d9d9dc5dca428466b39d1ee65ae

commit 6721b63a42ac9d9d9dc5dca428466b39d1ee65ae
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Tue May 9 10:46:50 2017 +0200

    Use __construct

diff --git a/src/common/dao/include/DataAccessObject.class.php b/src/common/dao/include/DataAccessObject.class.php
index 2e3ba23..53593ec 100644
--- a/src/common/dao/include/DataAccessObject.class.php
+++ b/src/common/dao/include/DataAccessObject.class.php
@@ -5,12 +5,10 @@
 class DataAccessObject {
 	 var $da;
 
-    //! A constructor
     /**
-    * Constructs the Dao
-    * @param DataAccess $da Instance of the DataAccess class
-    */
-    function DataAccessObject( & $da ) {
+     * @param DataAccess $da Instance of the DataAccess class
+     */
+    function __construct(&$da) {
         $this->table_name = 'CLASSNAME_MUST_BE_DEFINE_FOR_EACH_CLASS';
 
         $this->da=$da;
diff --git a/src/plugins/hudson/include/PluginHudsonJobDao.class.php b/src/plugins/hudson/include/PluginHudsonJobDao.class.php
index 587e5c9..b9a0103 100644
--- a/src/plugins/hudson/include/PluginHudsonJobDao.class.php
+++ b/src/plugins/hudson/include/PluginHudsonJobDao.class.php
@@ -24,12 +24,12 @@ require_once 'common/dao/include/DataAccessObject.class.php';
  *  Data Access Object for PluginHudsonJob
  */
 class PluginHudsonJobDao extends DataAccessObject {
+
 	/**
-	 * Constructs the PluginHudsonJobDao
 	 * @param $da instance of the DataAccess class
 	 */
-	function PluginHudsonJobDao( $da ) {
-		DataAccessObject::DataAccessObject($da);
+	function __construct($da) {
+		parent::__construct($da);
 	}
 
 	/**

-----------------------------------------------------------------------

Summary of changes:
 src/common/dao/include/DataAccessObject.class.php       | 8 +++-----
 src/plugins/hudson/include/PluginHudsonJobDao.class.php | 6 +++---
 2 files changed, 6 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list