[Pkg-owncloud-commits] [owncloud] 37/70: make sure that we don't connect hooks multiple times
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:40:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.
commit 51185c1b53222d70663bd723bc067f45f52b7110
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Fri Jul 18 12:12:32 2014 +0200
make sure that we don't connect hooks multiple times
---
apps/files_encryption/tests/share.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php
index 5506ea6..cf52022 100755
--- a/apps/files_encryption/tests/share.php
+++ b/apps/files_encryption/tests/share.php
@@ -64,7 +64,7 @@ class Test_Encryption_Share extends \PHPUnit_Framework_TestCase {
\OC_Appconfig::setValue('core', 'shareapi_allow_resharing', 'yes');
// clear share hooks
- \OC_Hook::clear('OCP\\Share');
+ \OC_Hook::clear();
\OC::registerShareHooks();
\OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
--
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