Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Satisfy StyleCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpatrick committed Sep 30, 2015
1 parent 5df41a5 commit 2e6c85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/controllers/components/UtilityComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ public function installModule($moduleName)
$moduleDao->setCurrentVersion($version);
try {
$moduleModel->save($moduleDao);
} catch(Zend_Db_Statement_Exception $e) {
} catch (Zend_Db_Statement_Exception $e) {
if ($e->getCode() === 23000) {
$this->getLogger()->debug("Failed to install ".$moduleName." due to integrity constraint violation.");
$this->getLogger()->debug('Failed to install '.$moduleName.' due to integrity constraint violation.');
} else {
throw $e;
}
Expand Down

0 comments on commit 2e6c85e

Please sign in to comment.