fix PHP Fatal caused by calling method of old hooks class

This commit is contained in:
Ralf Becker 2016-05-06 09:34:29 +00:00
parent 2339ca4598
commit bf0fbbb521

View File

@ -998,7 +998,7 @@ class StreamWrapper implements StreamWrapperIface
'account_lid' => basename($path),
'account_name' => basename($path),
);
call_user_func(array('vfs_home_hooks',$hook_data['location']),$hook_data);
call_user_func(array(__NAMESPACE__.'\\Hooks',$hook_data['location']),$hook_data);
unset($hook_data);
$stat = self::url_stat($path,$flags,false);
}