diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 14:27:25 +0400 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-03-08 14:27:25 +0400 |
commit | 8d26400cb5427763b0562da8799bea52f4eae21e (patch) | |
tree | 2c892bd70c3c2563048c6a7cad76cedb94c213ed /lib | |
parent | 45869afa5ac718e11c3d2e3bccdb501a022cfc24 (diff) |
remove some debug output; move code to the right function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/view.php b/lib/files/view.php index 59339ff2071..fe753342b6c 100644 --- a/lib/files/view.php +++ b/lib/files/view.php @@ -603,7 +603,7 @@ class View { if ($path == null) { return false; } - foreach ($hooks as $h) if ($h == "write") error_log("write triggered by $operation for $path"); + $run = $this->runHooks($hooks, $path); list($storage, $internalPath) = Filesystem::resolvePath($absolutePath . $postFix); if ($run and $storage) { |