- public static function delete($table, $param, $in_process = false, &$callstack = array()) {
-
- if (empty($table) || empty($param)) {
- logger('Table and condition have to be set');
+ public static function delete($table, array $conditions, $in_process = false, array &$callstack = [])
+ {
+ if (empty($table) || empty($conditions)) {
+ logger('Table and conditions have to be set');