This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
nextcloud
mirror of
https://github.com/nextcloud/server.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1012
Wiki
Activity
Browse Source
also emmit create hook when creating new files using touch()
tags/v6.0.0alpha2
Robin Appelman
11 years ago
parent
301cce54cc
commit
1fa29b4c11
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
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);
Write
Preview
Loading…
Cancel
Save