diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-29 23:42:40 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-29 23:44:05 +0100 |
commit | e76e4e75407cc672bf342f13bbd77392a93c1623 (patch) | |
tree | 4380736971ed6f68a32fe58de6aae7b199723338 /lib/filestorage.php | |
parent | b23b5aae7fba9467fd0e6b6137268c894ea6f8e8 (diff) | |
download | nextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.tar.gz nextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.zip |
add touch() to all storage backands, and make parameter optional
Diffstat (limited to 'lib/filestorage.php')
-rw-r--r-- | lib/filestorage.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filestorage.php b/lib/filestorage.php index 6b679eab899..fd6497b9478 100644 --- a/lib/filestorage.php +++ b/lib/filestorage.php @@ -48,5 +48,6 @@ abstract class OC_Filestorage{ abstract public function hash($type,$path,$raw); abstract public function free_space($path); abstract public function search($query); + abstract public function touch($path, $mtime=null); abstract public function getLocalFile($path);// get a path to a local version of the file, whether the original file is local or remote } |