diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-15 17:42:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-15 17:42:39 +0200 |
commit | a9a424a51982396943e9c3353c0c36f289dd41ba (patch) | |
tree | 5e952d0ca8e5fee3bc9c30aae5a0a2668c223f6a /lib/filesystem.php | |
parent | 449760f665a2416875458cbb3f34387df038b08a (diff) | |
download | nextcloud-server-a9a424a51982396943e9c3353c0c36f289dd41ba.tar.gz nextcloud-server-a9a424a51982396943e9c3353c0c36f289dd41ba.zip |
also add hasUpdated to oc_filesystem and oc_filesystemview
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 28bd7d52900..89de533d725 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -474,6 +474,15 @@ class OC_Filesystem{ static public function search($query){ return OC_FileCache::search($query); } + + /** + * check if a file or folder has been updated since $time + * @param int $time + * @return bool + */ + static public function hasUpdated($path,$time){ + return self::$defaultInstance->hasUpdated($path); + } } require_once('filecache.php'); |