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:
authorRouslan Placella <rouslan@placella.com>2012-07-22 19:05:58 +0400
committerRouslan Placella <rouslan@placella.com>2012-10-31 00:23:59 +0400
commit9008ba42fa16fb01ee3271d0263da7d74158f557 (patch)
treeda386fe4779214ad0cb7e9d3616e93249ac5ca6d /prefs_forms.php
parent50266d206b974d2e6003a39aef1577eeb3eaab35 (diff)
Dropped server side functionality for reloading the left frame from user preferences forms
Diffstat (limited to 'prefs_forms.php')
-rw-r--r--prefs_forms.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefs_forms.php b/prefs_forms.php
index e613c0cd8e..52d25d91e6 100644
--- a/prefs_forms.php
+++ b/prefs_forms.php
@@ -52,15 +52,15 @@ if (isset($_POST['revert'])) {
$error = null;
if ($form_display->process(false) && !$form_display->hasErrors()) {
// save settings
- $old_settings = PMA_loadUserprefs();
$result = PMA_saveUserprefs(ConfigFile::getInstance()->getConfigArray());
if ($result === true) {
// reload config
$GLOBALS['PMA_Config']->loadUserPreferences();
$hash = ltrim(filter_input(INPUT_POST, 'tab_hash'), '#');
PMA_userprefsRedirect(
- $forms, $old_settings, 'prefs_forms.php',
- array('form' => $form_param), $hash
+ 'prefs_forms.php',
+ array('form' => $form_param),
+ $hash
);
exit;
} else {