aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2008-02-25 18:39:16 +0000
committerNils Adermann <naderman@naderman.de>2008-02-25 18:39:16 +0000
commitf83b47bc11fbb689ed95f70f2099a7fad9f36144 (patch)
treedace5143c622047fd8c51a2d7b4e41ce50b87a7a /phpBB/includes/acp
parent42073ab0afd5f442098289156fa596b379920c3b (diff)
downloadforums-f83b47bc11fbb689ed95f70f2099a7fad9f36144.tar
forums-f83b47bc11fbb689ed95f70f2099a7fad9f36144.tar.gz
forums-f83b47bc11fbb689ed95f70f2099a7fad9f36144.tar.bz2
forums-f83b47bc11fbb689ed95f70f2099a7fad9f36144.tar.xz
forums-f83b47bc11fbb689ed95f70f2099a7fad9f36144.zip
allow search backends to handle regular updates too, and not just backend switches
git-svn-id: file:///svn/phpbb/trunk@8403 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_search.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_search.php b/phpBB/includes/acp/acp_search.php
index 67a3c6bf6f..cfe657491d 100644
--- a/phpBB/includes/acp/acp_search.php
+++ b/phpBB/includes/acp/acp_search.php
@@ -183,6 +183,17 @@ class acp_search
}
}
+ if ($updated)
+ {
+ if (method_exists($search, 'config_updated'))
+ {
+ if ($search->config_updated())
+ {
+ trigger_error($error . adm_back_link($this->u_action), E_USER_WARNING);
+ }
+ }
+ }
+
trigger_error($user->lang['CONFIG_UPDATED'] . $extra_message . adm_back_link($this->u_action));
}
unset($cfg_array);