Throw ServerNotAvailableException always

This commit is contained in:
Morris Jobke 2015-04-10 14:51:21 +02:00
parent fafecd1c05
commit 25dd4ec767

View file

@ -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;
}
}