Merge branch 'fix-runaway-cron' into 'dev'
Fix too many arguments in ClearQueue() queries See merge request hubzilla/core!1320
This commit is contained in:
commit
855f4b869a
@ -126,7 +126,6 @@ class Master {
|
||||
|
||||
static public function ClearQueue() {
|
||||
$work = q("select * from config where cat='queuework' and k like '%s'",
|
||||
'workitem_%',
|
||||
dbesc('workitem%'));
|
||||
foreach ($work as $workitem) {
|
||||
$workinfo = unserialize($workitem['v']);
|
||||
@ -137,7 +136,6 @@ class Master {
|
||||
$cls::run($argc,$argv);
|
||||
}
|
||||
$work = q("delete from config where cat='queuework' and k like '%s'",
|
||||
'workitem_%',
|
||||
dbesc('workitem%'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user