From 463b48b2e1e337c1531f094b26cae79d11bdcf27 Mon Sep 17 00:00:00 2001
From: Georg Ehrke <dev@georgswebsite.de>
Date: Mon, 10 Sep 2012 14:40:54 +0200
Subject: [PATCH] fix file upload

---
 lib/filesystemview.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 743f940301..3a17af510c 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -295,12 +295,12 @@ class OC_FilesystemView {
 							OC_Filesystem::signal_post_create,
 							array( OC_Filesystem::signal_param_path => $path)
 						);
-					}
+					}/*
 					OC_Hook::emit(
 						OC_Filesystem::CLASSNAME,
 						OC_Filesystem::signal_post_write,
 						array( OC_Filesystem::signal_param_path => $path)
-					);
+					);*/
 					OC_FileProxy::runPostProxies('file_put_contents', $absolutePath, $count);
 					return $count > 0;
 				}else{
-- 
GitLab