|
|
|
@ -317,9 +317,11 @@ class OC_FilesystemView { |
|
|
|
|
$result=$storage->$operation($interalPath); |
|
|
|
|
} |
|
|
|
|
$result=OC_FileProxy::runPostProxies($operation,$path,$result); |
|
|
|
|
foreach($hooks as $hook){ |
|
|
|
|
if($hook!='read'){ |
|
|
|
|
OC_Hook::emit( OC_Filesystem::CLASSNAME, 'post_'.$hook, array( OC_Filesystem::signal_param_path => $path)); |
|
|
|
|
if($operation!='fopen'){//no post hooks for fopen, the file stream is still open |
|
|
|
|
foreach($hooks as $hook){ |
|
|
|
|
if($hook!='read'){ |
|
|
|
|
OC_Hook::emit( OC_Filesystem::CLASSNAME, 'post_'.$hook, array( OC_Filesystem::signal_param_path => $path)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
return $result; |
|
|
|
|