From 2decd9016e780851214483286abb1ca7e45e3707 Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Mon, 7 Jul 2014 17:45:31 +0300 Subject: [PATCH] fixed rebuild.php issue --- application/Espo/Core/Application.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/application/Espo/Core/Application.php b/application/Espo/Core/Application.php index 9de34e209a..95f3b97b8c 100644 --- a/application/Espo/Core/Application.php +++ b/application/Espo/Core/Application.php @@ -128,12 +128,9 @@ class Application $cronManager = new \Espo\Core\CronManager($this->container); $cronManager->run(); } - + public function runRebuild() { - $auth = $this->getAuth(); - $auth->useNoAuth(true); - $dataManager = $this->getContainer()->get('dataManager'); $dataManager->rebuild(); }