// Fix strict standard problem
This commit is contained in:
@@ -133,7 +133,7 @@ class CustomizationCore
|
|||||||
* @param $has_active_column
|
* @param $has_active_column
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isCurrentlyUsed()
|
public static function isCurrentlyUsed($table = null, $has_active_column = false)
|
||||||
{
|
{
|
||||||
return (bool)Db::getInstance()->getValue('
|
return (bool)Db::getInstance()->getValue('
|
||||||
SELECT `id_customization_field`
|
SELECT `id_customization_field`
|
||||||
|
|||||||
+1
-1
@@ -204,7 +204,7 @@ class GroupCore extends ObjectModel
|
|||||||
* @param $has_active_column
|
* @param $has_active_column
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function isCurrentlyUsed($table, $has_active_column = false)
|
public static function isCurrentlyUsed($table = null, $has_active_column = false)
|
||||||
{
|
{
|
||||||
// We don't use the parent method, for specific clause reason (id_group != 3)
|
// We don't use the parent method, for specific clause reason (id_group != 3)
|
||||||
return (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
|
return (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
|
||||||
|
|||||||
Reference in New Issue
Block a user