[Pkg-owncloud-commits] [owncloud] 75/199: remove legacy OC_Filesystem being used in a hook callback
    David Prévot 
    taffit at moszumanska.debian.org
       
    Sun Jun  1 18:53:11 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 f03a3d9d05c3759bc0b5eeb96a88cc7d78bb2044
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Wed May 28 00:13:54 2014 +0200
    remove legacy OC_Filesystem being used in a hook callback
---
 lib/base.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/base.php b/lib/base.php
index a022b9d..a93f1ca 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -637,8 +637,8 @@ class OC {
 	 */
 	public static function registerFilesystemHooks() {
 		// Check for blacklisted files
-		OC_Hook::connect('OC_Filesystem', 'write', 'OC_Filesystem', 'isBlacklisted');
-		OC_Hook::connect('OC_Filesystem', 'rename', 'OC_Filesystem', 'isBlacklisted');
+		OC_Hook::connect('OC_Filesystem', 'write', 'OC\Files\Filesystem', 'isBlacklisted');
+		OC_Hook::connect('OC_Filesystem', 'rename', 'OC\Files\Filesystem', 'isBlacklisted');
 	}
 
 	/**
-- 
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