Throw ServerNotAvailableException always

remotes/origin/poc-doctrine-migrations
Morris Jobke 11 years ago
parent fafecd1c05
commit 25dd4ec767
  1. 2
      lib/private/hook.php

@ -114,7 +114,7 @@ class OC_Hook{
OC_Log::write('hook',
'error while running hook (' . $class . '::' . $i["name"] . '): ' . $message,
OC_Log::ERROR);
if($e instanceof \OC\ServerNotAvailableException && $signalClass === 'OC_Filesystem' && $signalName === 'setup') {
if($e instanceof \OC\ServerNotAvailableException) {
throw $e;
}
}

Loading…
Cancel
Save