Fix missed fstab mount kept unmounted shares around

This commit is contained in:
nathangray 2021-03-16 11:38:44 -06:00
parent 3fb74753c8
commit 47d2f433d6

View File

@ -182,6 +182,7 @@ class Base
Config::save_value('vfs_fstab', $GLOBALS['egw_info']['server']['vfs_fstab'],'phpgwapi');
unset($GLOBALS['egw_info']['user']['preferences']['common']['vfs_fstab'][$path]);
unset($_SESSION[Api\Session::EGW_INFO_CACHE]['server']['vfs_fstab'][$path]);
unset($_SESSION[Api\Session::EGW_INFO_CACHE]['user']['preferences']['common']['vfs_fstab'][$path]);
$prefs = new Api\Preferences();
$prefs->read_repository();