Skip to content

Commit 96ec1e0

Browse files
committed
Fixes #435
1 parent ef73918 commit 96ec1e0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

app/Item.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,6 @@ public static function checkConfig($config)
5656
if(empty($config)) {
5757
$config = null;
5858
} 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;
7259
$config = json_encode($config);
7360
}
7461
return $config;

0 commit comments

Comments
 (0)