Browse Source

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

tags/v6.0.0alpha2
Robin Appelman 11 years ago
parent
commit
1fa29b4c11
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/files/view.php

+ 1
- 0
lib/files/view.php View File

@@ -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