mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
MySQL: Refactored 'db_Table_exists' to 'isTable' method. (BC compatible) and removed use of pref global.
This commit is contained in:
@@ -86,7 +86,7 @@ class featurebox_setup
|
||||
|
||||
function upgrade_required()
|
||||
{
|
||||
if(!e107::getDb()->db_Table_exists('featurebox_category'))
|
||||
if(!e107::getDb()->isTable('featurebox_category'))
|
||||
{
|
||||
return true; // true to trigger an upgrade alert, and false to not.
|
||||
}
|
||||
|
Reference in New Issue
Block a user