diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-10 11:51:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-10 11:51:14 +0200 |
commit | d717a5e55ca54c6ddbaf2f35f0f19b707dcfe1c8 (patch) | |
tree | f31f3d7eeb82f2a6d544ab307472478f4770e8c2 /lib/filesystem.php | |
parent | f56aebbd3f7351a6a28531a890144a117f57130b (diff) | |
download | nextcloud-server-d717a5e55ca54c6ddbaf2f35f0f19b707dcfe1c8.tar.gz nextcloud-server-d717a5e55ca54c6ddbaf2f35f0f19b707dcfe1c8.zip |
remove old filecache
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 0d24b7203bc..b73b52d4203 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -254,13 +254,6 @@ class OC_Filesystem{ } } } - - $mtime=filemtime(OC::$SERVERROOT.'/config/mount.php'); - $previousMTime=OC_Appconfig::getValue('files','mountconfigmtime',0); - if($mtime>$previousMTime) {//mount config has changed, filecache needs to be updated - OC_FileCache::triggerUpdate(); - OC_Appconfig::setValue('files','mountconfigmtime',$mtime); - } } self::$loaded=true; @@ -399,7 +392,7 @@ class OC_Filesystem{ } /** - * checks if a file is blacklsited for storage in the filesystem + * checks if a file is blacklisted for storage in the filesystem * Listens to write and rename hooks * @param array $data from hook */ @@ -419,7 +412,7 @@ class OC_Filesystem{ } /** - * following functions are equivilent to their php buildin equivilents for arguments/return values. + * following functions are equivalent to their php builtin equivalents for arguments/return values. */ static public function mkdir($path) { return self::$defaultInstance->mkdir($path); @@ -592,4 +585,3 @@ OC_Hook::connect('OC_Filesystem','post_delete','OC_Filesystem','removeETagHook') OC_Hook::connect('OC_Filesystem','post_rename','OC_Filesystem','removeETagHook'); OC_Util::setupFS(); -require_once 'filecache.php'; |