remove whitespaces, no code change
This commit is contained in:
parent
bf3dac05d1
commit
5b9ba2e033
|
@ -62,7 +62,7 @@ class OC_Util {
|
||||||
OC_Filesystem::tearDown();
|
OC_Filesystem::tearDown();
|
||||||
self::$fsSetup=false;
|
self::$fsSetup=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function loadUserMountPoints($user) {
|
public static function loadUserMountPoints($user) {
|
||||||
$user_dir = '/'.$user.'/files';
|
$user_dir = '/'.$user.'/files';
|
||||||
$user_root = OC_User::getHome($user);
|
$user_root = OC_User::getHome($user);
|
||||||
|
@ -74,14 +74,14 @@ class OC_Util {
|
||||||
OC_Filesystem::mount($options['class'], $options['options'], $mountPoint);
|
OC_Filesystem::mount($options['class'], $options['options'], $mountPoint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$mtime=filemtime($user_root.'/mount.php');
|
$mtime=filemtime($user_root.'/mount.php');
|
||||||
$previousMTime=OC_Preferences::getValue($user,'files','mountconfigmtime',0);
|
$previousMTime=OC_Preferences::getValue($user,'files','mountconfigmtime',0);
|
||||||
if($mtime>$previousMTime) {//mount config has changed, filecache needs to be updated
|
if($mtime>$previousMTime) {//mount config has changed, filecache needs to be updated
|
||||||
OC_FileCache::triggerUpdate($user);
|
OC_FileCache::triggerUpdate($user);
|
||||||
OC_Preferences::setValue($user,'files','mountconfigmtime',$mtime);
|
OC_Preferences::setValue($user,'files','mountconfigmtime',$mtime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -429,7 +429,7 @@ class OC_Util {
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redirect to the user default page
|
* Redirect to the user default page
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue