Commit 9debb56d authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4911 (The orphaned language strings cleanup tool deactivates on the wrong logic)

parent e72da097
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ class Hook_cleanup_orphaned_lang_strings
            }
        }

        if (($GLOBALS['SITE_DB']->query_select_value('translate', 'COUNT(*)') > 10000) && ((get_value('innodb') !== '1') || (strpos(get_db_type(), 'mysql') === false))) {
        if (($GLOBALS['SITE_DB']->query_select_value('translate', 'COUNT(*)') > 10000) && (get_value('innodb') !== '1') && (strpos(get_db_type(), 'mysql') !== false)) {
            return null; // Too much, and we don't have much use for it outside development anyway
        }