public static function statusIndex($module, array $otherIds, $active = true)
{
// redefine
$active = $active && $active !== 'N' ? 'Y' : 'N';
// deactivate!
if ($otherIds) {
FrontendModel::getContainer()->get('database')->update('search_index', array('active' => $active), 'module = ? AND other_id IN (' . implode(',', $otherIds) . ')', array((string) $module));
}
}