mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix umount to deal with user-specific mounts too
This commit is contained in:
parent
9eae0333ad
commit
7c9e1c98ec
@ -178,10 +178,8 @@ class Base
|
|||||||
if (self::LOG_LEVEL > 0) error_log(__METHOD__.'('.array2string($path).') NOT mounted!');
|
if (self::LOG_LEVEL > 0) error_log(__METHOD__.'('.array2string($path).') NOT mounted!');
|
||||||
return false; // $path not mounted
|
return false; // $path not mounted
|
||||||
}
|
}
|
||||||
unset(self::$fstab[$path]);
|
unset(self::$fstab[$path], $GLOBALS['egw_info']['server']['vfs_fstab'][$path]);
|
||||||
|
Config::save_value('vfs_fstab', $GLOBALS['egw_info']['server']['vfs_fstab'],'phpgwapi');
|
||||||
Config::save_value('vfs_fstab',self::$fstab,'phpgwapi');
|
|
||||||
$GLOBALS['egw_info']['server']['vfs_fstab'] = self::$fstab;
|
|
||||||
// invalidate session cache
|
// invalidate session cache
|
||||||
if (method_exists($GLOBALS['egw'],'invalidate_session_cache')) // egw object in setup is limited
|
if (method_exists($GLOBALS['egw'],'invalidate_session_cache')) // egw object in setup is limited
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user