We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef73918 commit 96ec1e0Copy full SHA for 96ec1e0
app/Item.php
@@ -56,19 +56,6 @@ public static function checkConfig($config)
56
if(empty($config)) {
57
$config = null;
58
} else {
59
- $store = false;
60
- //die(var_dump($config));
61
- foreach($config as $key => $check) {
62
- if($key == 'type') continue;
63
- if($key == 'dataonly') continue;
64
- if(!empty($check) && $check != '0') {
65
- $store = true;
66
- break;
67
- }
68
69
- //die(var_dump($store))
70
-
71
- $config['enabled'] = ($store) ? true : false;
72
$config = json_encode($config);
73
}
74
return $config;
0 commit comments