also emmit create hook when creating new files using touch()

remotes/origin/stable6
Robin Appelman 13 years ago
parent 301cce54cc
commit 1fa29b4c11
  1. 1
      lib/files/view.php

@ -249,6 +249,7 @@ class View {
$hooks = array('touch');
if (!$this->file_exists($path)) {
$hooks[] = 'create';
$hooks[] = 'write';
}
$result = $this->basicOperation('touch', $path, $hooks, $mtime);

Loading…
Cancel
Save