[Pkg-owncloud-commits] [owncloud] 257/273: fix hook names
David Prévot
taffit at moszumanska.debian.org
Fri Jul 4 03:13:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 3c45925e747e74b29477166a9f1dbf98ce148bad
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date: Thu Jul 3 13:52:58 2014 +0200
fix hook names
---
lib/base.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/base.php b/lib/base.php
index d9fe94f..b526840 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -626,10 +626,10 @@ class OC {
*/
public static function registerPreviewHooks() {
OC_Hook::connect('OC_Filesystem', 'post_write', 'OC\Preview', 'post_write');
- OC_Hook::connect('OC_Filesystem', 'preDelete', 'OC\Preview', 'prepare_delete_files');
+ OC_Hook::connect('OC_Filesystem', 'delete', 'OC\Preview', 'prepare_delete_files');
OC_Hook::connect('\OCP\Versions', 'preDelete', 'OC\Preview', 'prepare_delete');
OC_Hook::connect('\OCP\Trashbin', 'preDelete', 'OC\Preview', 'prepare_delete');
- OC_Hook::connect('OC_Filesystem', 'delete', 'OC\Preview', 'post_delete_files');
+ OC_Hook::connect('OC_Filesystem', 'post_delete', 'OC\Preview', 'post_delete_files');
OC_Hook::connect('\OCP\Versions', 'delete', 'OC\Preview', 'post_delete');
OC_Hook::connect('\OCP\Trashbin', 'delete', 'OC\Preview', 'post_delete');
}
--
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