From f21b377aec44c46c2a883aea498a8a51ae247493 Mon Sep 17 00:00:00 2001 From: jvargas Date: Tue, 1 Mar 2016 12:37:02 +0100 Subject: [PATCH] Fixed bug: Using ximSYNC SyncManager class --- lib/Ximdex/Modules/Module.php | 2 +- lib/Ximdex/Utils/Sync/SynchroFacade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Ximdex/Modules/Module.php b/lib/Ximdex/Modules/Module.php index 3711cf5cc..67183c830 100644 --- a/lib/Ximdex/Modules/Module.php +++ b/lib/Ximdex/Modules/Module.php @@ -70,7 +70,7 @@ public function __construct($name, $path) { // $this->messages->add(sprintf(_("sys {%s} : Module instanciated (%s) (%s)"), // __CLASS__, $this->name, $this->path), MSG_TYPE_NOTICE); - Logger::info(sprintf(_("sys {%s} : Module instanciated (%s) (%s)"), __CLASS__, $this->name, $this->path)); + //Logger::info(sprintf(_("sys {%s} : Module instanciated (%s) (%s)"), __CLASS__, $this->name, $this->path)); } /** diff --git a/lib/Ximdex/Utils/Sync/SynchroFacade.php b/lib/Ximdex/Utils/Sync/SynchroFacade.php index fb3257f45..242f99acd 100644 --- a/lib/Ximdex/Utils/Sync/SynchroFacade.php +++ b/lib/Ximdex/Utils/Sync/SynchroFacade.php @@ -574,7 +574,7 @@ function pushDocInPublishingPool($idNode, $upDate, $downDate = NULL, $flagsArray if (ModulesManager::isEnabled('ximSYNC')) { - $syncMngr = new SyncManager(); + $syncMngr = new \SyncManager(); $node = new Node($idNode); $result = array();