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 { ...@@ -65,8 +65,8 @@ class BackendCombined extends Backend implements ISearchProvider {
* *
* @access public * @access public
*/ */
public function BackendCombined() { public function __construct() {
parent::Backend(); parent::__construct();
$this->config = BackendCombinedConfig::GetBackendCombinedConfig(); $this->config = BackendCombinedConfig::GetBackendCombinedConfig();
$backend_values = array_unique(array_values($this->config['folderbackend'])); $backend_values = array_unique(array_values($this->config['folderbackend']));
......
...@@ -55,7 +55,7 @@ class ExportChangesCombined implements IExportChanges { ...@@ -55,7 +55,7 @@ class ExportChangesCombined implements IExportChanges {
private $importer; private $importer;
private $importwraps; private $importwraps;
public function ExportChangesCombined(&$backend) { public function __construct(&$backend) {
$this->backend =& $backend; $this->backend =& $backend;
$this->exporters = array(); $this->exporters = array();
$this->movestateSrc = false; $this->movestateSrc = false;
......
...@@ -55,7 +55,7 @@ class ImportChangesCombined implements IImportChanges { ...@@ -55,7 +55,7 @@ class ImportChangesCombined implements IImportChanges {
* *
* @access public * @access public
*/ */
public function ImportChangesCombined(&$backend, $folderid = false, $icc = false) { public function __construct(&$backend, $folderid = false, $icc = false) {
$this->backend = $backend; $this->backend = $backend;
$this->folderid = $folderid; $this->folderid = $folderid;
$this->icc = &$icc; $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