Skip to content

Commit

Permalink
Merge pull request #116 from oat-sa/fix/update-broken-config
Browse files Browse the repository at this point in the history
Fix version & varaible in updater
  • Loading branch information
siwane authored Feb 24, 2017
2 parents a0a5f35 + b249b43 commit 5bee2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions scripts/update/Updater.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}

Expand Down Expand Up @@ -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');
}
}

0 comments on commit 5bee2a7

Please sign in to comment.