// remove unused translations and fix error caused by unused translations

This commit is contained in:
tDidierjean
2011-09-19 13:40:44 +00:00
parent 4278805de7
commit f046afdb49
5 changed files with 94 additions and 723 deletions
+3
View File
@@ -97,6 +97,9 @@ class AdminSearch extends AdminTab
$key = substr($key, 0, -32);
if (in_array($key, array('AdminTab', 'index')))
continue;
// if class name doesn't exists, just ignore it
if (!isset($tabs[$key]))
continue;
if (!isset($matchingResults[$tabs[$key]]))
$matchingResults[$tabs[$key]] = array();
$matchingResults[$tabs[$key]][] = array('tab' => $key, 'value' => $value);