aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_search.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2008-02-25 18:39:05 +0000
committerNils Adermann <naderman@naderman.de>2008-02-25 18:39:05 +0000
commitd6d2373582f831845fa8238cea31d73cc6f7d972 (patch)
tree844b400bf971089eb4eafdf3c7e98a00fd5c557a /phpBB/includes/acp/acp_search.php
parentb4ca6fdc4e322470f3dae9eb98c3595a841fcb77 (diff)
downloadforums-d6d2373582f831845fa8238cea31d73cc6f7d972.tar
forums-d6d2373582f831845fa8238cea31d73cc6f7d972.tar.gz
forums-d6d2373582f831845fa8238cea31d73cc6f7d972.tar.bz2
forums-d6d2373582f831845fa8238cea31d73cc6f7d972.tar.xz
forums-d6d2373582f831845fa8238cea31d73cc6f7d972.zip
allow search backends to handle regular updates too, and not just backend switches
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8402 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_search.php')
-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);