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:
Nils Adermann 2008-02-25 18:39:16 +00:00
parent 42073ab0af
commit f83b47bc11

View file

@ -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);