// Fix strict standard problem
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12038 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
465dd6cec2
commit
8c5b03b55d
2 files changed
+2
-2
No files matched your search
@@ -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