CSR changes, split dbclean in separate processes if worker is active
This commit is contained in:
@@ -44,9 +44,9 @@ class dbm {
|
||||
*/
|
||||
public static function is_result($array) {
|
||||
// It could be a return value from an update statement
|
||||
if (is_bool($array))
|
||||
if (is_bool($array)) {
|
||||
return $array;
|
||||
|
||||
}
|
||||
return (is_array($array) && count($array) > 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user