[Pkg-owncloud-commits] [owncloud] 23/103: Throw ServerNotAvailableException always

David Prévot taffit at moszumanska.debian.org
Sun May 31 12:32:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v8.0.4RC1
in repository owncloud.

commit 1f1e6f2e49ed59be940d45b3f74fadb394ac86ff
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Fri Apr 10 14:51:21 2015 +0200

    Throw ServerNotAvailableException always
---
 lib/private/hook.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/hook.php b/lib/private/hook.php
index 72a1f90..d4e8205 100644
--- a/lib/private/hook.php
+++ b/lib/private/hook.php
@@ -80,7 +80,7 @@ class OC_Hook{
 				OC_Log::write('hook',
 					'error while running hook (' . $i["class"] . '::' . $i["name"] . '): '.$e->getMessage(),
 					OC_Log::ERROR);
-				if($e instanceof \OC\ServerNotAvailableException && $signalClass === 'OC_Filesystem' && $signalName === 'setup') {
+				if($e instanceof \OC\ServerNotAvailableException) {
 					throw $e;
 				}
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list