diff --git a/api/src/Vfs.php b/api/src/Vfs.php index e40592b453..065bf9dafb 100644 --- a/api/src/Vfs.php +++ b/api/src/Vfs.php @@ -727,7 +727,7 @@ class Vfs throw new Exception\AssertionFailed(__METHOD__.'('.array2string($urls).") Cautiously rejecting to remove folder '$url'!"); } } - return self::find($urls,array('depth'=>true,'url'=>$allow_urls,'hidden'=>true),array(__CLASS__,'_rm_rmdir')); + return self::find($urls, array('depth'=>true,'url'=>$allow_urls,'hidden'=>true), __CLASS__.'::_rm_rmdir'); } /** diff --git a/api/src/Vfs/Hooks.php b/api/src/Vfs/Hooks.php index a496fd3cf8..f5068a4e1d 100644 --- a/api/src/Vfs/Hooks.php +++ b/api/src/Vfs/Hooks.php @@ -96,7 +96,7 @@ class Hooks } Api\Vfs::rename('/home/'.$data['account_lid'],$new_dir); // make the new owner the owner of the dir and it's content - Api\Vfs::find($new_dir,array(),array('egw_vfs','chown'),$data['new_owner']); + Api\Vfs::find($new_dir, array(), 'EGroupware\Api\Vfs::chown', $data['new_owner']); } elseif(!empty($data['account_lid']) && $data['account_lid'] != '/') {