Merge pull request #8755 from owncloud/fix-8737-master

remove legacy OC_Filesystem being used in a hook callback
This commit is contained in:
Vincent Petry 2014-05-28 10:57:54 +02:00
commit 09645b9221
1 changed files with 2 additions and 2 deletions

View File

@ -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');
}
/**