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

This commit is contained in:
Robin Appelman 2013-08-29 15:31:03 +02:00
parent 301cce54cc
commit 1fa29b4c11

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);