[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13921] API: rename constructor
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [13921] API: rename constructor |
Date: |
Tue, 15 Sep 2015 19:52:32 +0000 |
Revision: 13921
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13921
Author: sigurdne
Date: 2015-09-15 19:52:32 +0000 (Tue, 15 Sep 2015)
Log Message:
-----------
API: rename constructor
Modified Paths:
--------------
trunk/phpgwapi/inc/mapping/class.mapping_.inc.php
trunk/phpgwapi/inc/mapping/class.mapping_ldap.inc.php
trunk/phpgwapi/inc/mapping/class.mapping_sql.inc.php
Modified: trunk/phpgwapi/inc/mapping/class.mapping_.inc.php
===================================================================
--- trunk/phpgwapi/inc/mapping/class.mapping_.inc.php 2015-09-15 19:47:34 UTC
(rev 13920)
+++ trunk/phpgwapi/inc/mapping/class.mapping_.inc.php 2015-09-15 19:52:32 UTC
(rev 13921)
@@ -45,7 +45,7 @@
* constructor, sets up variables
* @param array $auth_info the information sur source
authentication: location, auth_type
*/
- function mapping($auth_info)
+ function __construct($auth_info)
{
$this->location = $auth_info['location'];
$this->auth_type = $auth_info['auth_type'];
Modified: trunk/phpgwapi/inc/mapping/class.mapping_ldap.inc.php
===================================================================
--- trunk/phpgwapi/inc/mapping/class.mapping_ldap.inc.php 2015-09-15
19:47:34 UTC (rev 13920)
+++ trunk/phpgwapi/inc/mapping/class.mapping_ldap.inc.php 2015-09-15
19:52:32 UTC (rev 13921)
@@ -25,7 +25,7 @@
**/
function mapping_ldap($auth_info='')
{
- parent::mapping($auth_info);
+ parent::__construct($auth_info);
}
/**
Modified: trunk/phpgwapi/inc/mapping/class.mapping_sql.inc.php
===================================================================
--- trunk/phpgwapi/inc/mapping/class.mapping_sql.inc.php 2015-09-15
19:47:34 UTC (rev 13920)
+++ trunk/phpgwapi/inc/mapping/class.mapping_sql.inc.php 2015-09-15
19:52:32 UTC (rev 13921)
@@ -23,9 +23,9 @@
* constructor, sets up variables
*
**/
- function mapping_sql($auth_info='')
+ function __construct($auth_info='')
{
- parent::mapping($auth_info);
+ parent::__construct($auth_info);
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13921] API: rename constructor,
Sigurd Nes <=