From 47d2f433d653e79dd90e7b410b1793c2cf4d1813 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 16 Mar 2021 11:38:44 -0600 Subject: [PATCH] Fix missed fstab mount kept unmounted shares around --- api/src/Vfs/Base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/Vfs/Base.php b/api/src/Vfs/Base.php index e12be94077..00babfef63 100644 --- a/api/src/Vfs/Base.php +++ b/api/src/Vfs/Base.php @@ -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();