fix file upload

This commit is contained in:
Georg Ehrke 2012-09-10 14:40:54 +02:00
parent 86c3f9b8fe
commit 463b48b2e1
1 changed files with 2 additions and 2 deletions

View File

@ -295,12 +295,12 @@ class OC_FilesystemView {
OC_Filesystem::signal_post_create, OC_Filesystem::signal_post_create,
array( OC_Filesystem::signal_param_path => $path) array( OC_Filesystem::signal_param_path => $path)
); );
} }/*
OC_Hook::emit( OC_Hook::emit(
OC_Filesystem::CLASSNAME, OC_Filesystem::CLASSNAME,
OC_Filesystem::signal_post_write, OC_Filesystem::signal_post_write,
array( OC_Filesystem::signal_param_path => $path) array( OC_Filesystem::signal_param_path => $path)
); );*/
OC_FileProxy::runPostProxies('file_put_contents', $absolutePath, $count); OC_FileProxy::runPostProxies('file_put_contents', $absolutePath, $count);
return $count > 0; return $count > 0;
}else{ }else{