mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Fixes #835 and brings Pages search routine up to v2.x standards.
This commit is contained in:
@@ -1580,7 +1580,34 @@ function update_706_to_800($type='')
|
||||
$log->addDebug("Icon category added");
|
||||
}
|
||||
|
||||
// Search Clean up ----------------------------------
|
||||
|
||||
$searchPref = e107::getConfig('search');
|
||||
|
||||
if($searchPref->getPref('core_handlers/news'))
|
||||
{
|
||||
if ($just_check) return update_needed('Core search handlers need to be updated.');
|
||||
$searchPref->removePref('core_handlers/news')->save(false,true,false);
|
||||
}
|
||||
|
||||
if($searchPref->getPref('core_handlers/downloads'))
|
||||
{
|
||||
if ($just_check) return update_needed('Core search handlers need to be updated.');
|
||||
$searchPref->removePref('core_handlers/downloads')->save(false,true,false);
|
||||
}
|
||||
|
||||
if($searchPref->getPref('core_handlers/pages'))
|
||||
{
|
||||
if ($just_check) return update_needed('Core search handlers need to be updated.');
|
||||
$searchPref->removePref('core_handlers/pages')->save(false,true,false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Any other images should be imported manually via Media Manager batch-import.
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user