Commit 908375b8 authored by Vincent Sherwood's avatar Vincent Sherwood Committed by Ralf Becker

ZP-805 Renamed constructor StateManager() to __construct(). Released under the...

ZP-805 Renamed constructor StateManager() to __construct(). Released under the Affero GNU General Public License (AGPL) version 3.
parent bd3c3947
......@@ -80,7 +80,7 @@ class StateManager {
*
* @access public
*/
public function StateManager() {
public function __construct() {
$this->statemachine = ZPush::GetStateMachine();
$this->hierarchyOperation = ZPush::HierarchyCommand(Request::GetCommandCode());
$this->deleteOldStates = (Request::GetCommandCode() === ZPush::COMMAND_SYNC || $this->hierarchyOperation);
......
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