Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-03-08 14:27:25 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-03-08 14:27:25 +0400
commit8d26400cb5427763b0562da8799bea52f4eae21e (patch)
tree2c892bd70c3c2563048c6a7cad76cedb94c213ed /lib
parent45869afa5ac718e11c3d2e3bccdb501a022cfc24 (diff)
remove some debug output; move code to the right function
Diffstat (limited to 'lib')
-rw-r--r--lib/files/view.php2
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) {