diff options
author | Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com> | 2014-08-09 22:06:43 +0400 |
---|---|---|
committer | Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com> | 2014-08-11 17:03:59 +0400 |
commit | 7a9569f6b5ae1d528f312746a4333aae873901ab (patch) | |
tree | d883bd1f7426a24a7e34fa2feb6f8ef7c9019247 /prefs_forms.php | |
parent | 90e96a736a17e9dac06883a0d70b7bae2f9f5ddc (diff) |
RFE#1123: Zeroconf PMA tables support.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Diffstat (limited to 'prefs_forms.php')
-rw-r--r-- | prefs_forms.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/prefs_forms.php b/prefs_forms.php index 2cc37bfa8e..4364260685 100644 --- a/prefs_forms.php +++ b/prefs_forms.php @@ -54,6 +54,10 @@ $error = null; if ($form_display->process(false) && !$form_display->hasErrors()) { // save settings $result = PMA_saveUserprefs($cf->getConfigArray()); + if (! isset($_REQUEST['ZeroConf'])) { + $_SESSION['relation'][$GLOBALS['server']] = null; + } + if ($result === true) { // reload config $GLOBALS['PMA_Config']->loadUserPreferences(); |