diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-01-14 20:30:39 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-01-16 18:09:16 +0100 |
commit | 5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129 (patch) | |
tree | c0a4b2c32975ec45c5d7ec371f1a4dfcb7caab0b /lib/filesystem.php | |
parent | a8f963d9cf5b243cae497450af78c20cbc367b4b (diff) | |
download | nextcloud-server-5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129.tar.gz nextcloud-server-5bfe4adbaa9c402db5bd0d0f74fd9ad7bb037129.zip |
Whitespace cleanup
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index aa03593908d..f185d777def 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -179,11 +179,11 @@ class OC_Filesystem{ $internalPath=substr($path, strlen($mountPoint)); return $internalPath; } - + static private function mountPointsLoaded($user) { return in_array($user, self::$loadedUsers); } - + /** * get the storage object for a path * @param string path @@ -216,7 +216,7 @@ class OC_Filesystem{ self::mount($options['class'], $options['options'], $mountPoint); } } - + if(isset($mountConfig['group'])) { foreach($mountConfig['group'] as $group=>$mounts) { if(OC_Group::inGroup($user, $group)) { @@ -230,7 +230,7 @@ class OC_Filesystem{ } } } - + if(isset($mountConfig['user'])) { foreach($mountConfig['user'] as $mountUser=>$mounts) { if($user==='all' or strtolower($mountUser)===strtolower($user)) { @@ -244,16 +244,16 @@ 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); } - } + } } - + static public function init($root, $user = '') { if(self::$defaultInstance) { return false; |