mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
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
This commit is contained in:
parent
42073ab0af
commit
f83b47bc11
1 changed files with 11 additions and 0 deletions
|
@ -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));
|
trigger_error($user->lang['CONFIG_UPDATED'] . $extra_message . adm_back_link($this->u_action));
|
||||||
}
|
}
|
||||||
unset($cfg_array);
|
unset($cfg_array);
|
||||||
|
|
Loading…
Add table
Reference in a new issue