1
0
miroir de https://github.com/nextcloud/server.git synchronisé 2024-08-31 17:55:18 +02:00

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

Cette révision appartient à :
Robin Appelman 2013-08-29 15:31:03 +02:00
Parent 301cce54cc
révision 1fa29b4c11

Voir le fichier

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