Commit a9ccd55e authored by Vincent Sherwood's avatar Vincent Sherwood Committed by Ralf Becker

ZP-805 Renamed constructors to __construct(). Updated Combined to call...

ZP-805 Renamed constructors  to __construct(). Updated Combined to call parent::__construct. Released under the Affero GNU General Public License (AGPL) version 3.
parent b18edf77
......@@ -65,8 +65,8 @@ class BackendCombined extends Backend implements ISearchProvider {
*
* @access public
*/
public function BackendCombined() {
parent::Backend();
public function __construct() {
parent::__construct();
$this->config = BackendCombinedConfig::GetBackendCombinedConfig();
$backend_values = array_unique(array_values($this->config['folderbackend']));
......
......@@ -55,7 +55,7 @@ class ExportChangesCombined implements IExportChanges {
private $importer;
private $importwraps;
public function ExportChangesCombined(&$backend) {
public function __construct(&$backend) {
$this->backend =& $backend;
$this->exporters = array();
$this->movestateSrc = false;
......
......@@ -55,7 +55,7 @@ class ImportChangesCombined implements IImportChanges {
*
* @access public
*/
public function ImportChangesCombined(&$backend, $folderid = false, $icc = false) {
public function __construct(&$backend, $folderid = false, $icc = false) {
$this->backend = $backend;
$this->folderid = $folderid;
$this->icc = &$icc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment