aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-06-15 17:42:39 +0200
committerRobin Appelman <icewind@owncloud.com>2012-06-15 17:42:39 +0200
commita9a424a51982396943e9c3353c0c36f289dd41ba (patch)
tree5e952d0ca8e5fee3bc9c30aae5a0a2668c223f6a /lib/filesystem.php
parent449760f665a2416875458cbb3f34387df038b08a (diff)
downloadnextcloud-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.php9
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');