Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshutosh Dhundhara <ashutoshdhundhara@yahoo.com>2014-08-09 22:06:43 +0400
committerAshutosh Dhundhara <ashutoshdhundhara@yahoo.com>2014-08-11 17:03:59 +0400
commit7a9569f6b5ae1d528f312746a4333aae873901ab (patch)
treed883bd1f7426a24a7e34fa2feb6f8ef7c9019247 /prefs_forms.php
parent90e96a736a17e9dac06883a0d70b7bae2f9f5ddc (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.php4
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();