From b249b43dbdb518d5b2d6fbdc338838e1cdc5b526 Mon Sep 17 00:00:00 2001 From: cmoyon Date: Fri, 24 Feb 2017 16:11:20 +0100 Subject: [PATCH] Fix version & varaible in updater --- manifest.php | 2 +- scripts/update/Updater.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 manifest.php mode change 100644 => 100755 scripts/update/Updater.php diff --git a/manifest.php b/manifest.php old mode 100644 new mode 100755 index e5a421d1..9cb80120 --- a/manifest.php +++ b/manifest.php @@ -29,7 +29,7 @@ 'label' => 'Browser and OS diagnostic tool', 'description' => 'Check compatibility of the os and browser of a client', 'license' => 'GPL-2.0', - 'version' => '1.15.1', + 'version' => '1.15.2', 'author' => 'Open Assessment Technologies SA', 'requires' => array( 'tao' => '>=4.0.0', diff --git a/scripts/update/Updater.php b/scripts/update/Updater.php old mode 100644 new mode 100755 index d82f785f..7aea3f05 --- a/scripts/update/Updater.php +++ b/scripts/update/Updater.php @@ -337,7 +337,7 @@ public function update($initialVersion) $service = $this->safeLoadService(Storage::SERVICE_ID); if (!$service instanceof Storage) { // invalid Service, replace with default - $this->getServiceManager()->register(Storage::SERVICE_ID, new PaginatedSqlStorage($storageService->getOptions())); + $this->getServiceManager()->register(Storage::SERVICE_ID, new PaginatedSqlStorage($service->getOptions())); } } @@ -401,6 +401,6 @@ public function update($initialVersion) $this->setVersion('1.15.0'); } - $this->skip('1.15.0', '1.15.1'); + $this->skip('1.15.0', '1.15.2'); } }