fix cron issue

This commit is contained in:
Jonathan Labreuille
2016-04-11 15:35:47 +02:00
parent 7d34274fbf
commit c42bbf3dc4

View File

@@ -39,7 +39,6 @@ class Initializer {
$this->setupShortcodes(); $this->setupShortcodes();
$this->setupHooks(); $this->setupHooks();
$this->setupImages(); $this->setupImages();
$this->setupPublicAPI();
$this->runQueueSupervisor(); $this->runQueueSupervisor();
} catch(\Exception $e) { } catch(\Exception $e) {
// if anything goes wrong during init // if anything goes wrong during init
@@ -50,8 +49,8 @@ class Initializer {
function onInit() { function onInit() {
$this->setupRouter(); $this->setupRouter();
$this->setupPublicAPI();
$this->setupPages(); $this->setupPages();
$this->runQueueSupervisor();
} }
function setupDB() { function setupDB() {