Fix too many arguments
This commit is contained in:
parent
484d240e7e
commit
60d5443f00
@ -126,7 +126,6 @@ class Master {
|
|||||||
|
|
||||||
static public function ClearQueue() {
|
static public function ClearQueue() {
|
||||||
$work = q("select * from config where cat='queuework' and k like '%s'",
|
$work = q("select * from config where cat='queuework' and k like '%s'",
|
||||||
'workitem_%',
|
|
||||||
dbesc('workitem%'));
|
dbesc('workitem%'));
|
||||||
foreach ($work as $workitem) {
|
foreach ($work as $workitem) {
|
||||||
$workinfo = unserialize($workitem['v']);
|
$workinfo = unserialize($workitem['v']);
|
||||||
@ -137,7 +136,6 @@ class Master {
|
|||||||
$cls::run($argc,$argv);
|
$cls::run($argc,$argv);
|
||||||
}
|
}
|
||||||
$work = q("delete from config where cat='queuework' and k like '%s'",
|
$work = q("delete from config where cat='queuework' and k like '%s'",
|
||||||
'workitem_%',
|
|
||||||
dbesc('workitem%'));
|
dbesc('workitem%'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user