diff options
author | Nils Adermann <naderman@naderman.de> | 2008-02-25 18:39:16 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2008-02-25 18:39:16 +0000 |
commit | f83b47bc11fbb689ed95f70f2099a7fad9f36144 (patch) | |
tree | dace5143c622047fd8c51a2d7b4e41ce50b87a7a /phpBB/includes | |
parent | 42073ab0afd5f442098289156fa596b379920c3b (diff) | |
download | forums-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')
-rw-r--r-- | phpBB/includes/acp/acp_search.php | 11 |
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); |