Remove the queue from the core

This commit is contained in:
Michael 2019-04-05 18:04:39 +00:00
parent bd13a73b2b
commit 46a99a05a1
12 changed files with 46 additions and 381 deletions

View file

@ -65,8 +65,6 @@ HELP;
throw new RuntimeException(L10n::t('Could not find any unarchived contact entry for this URL (%s)', $nurl));
}
if (DBA::update('contact', ['archive' => true], ['nurl' => $nurl])) {
$condition = ["`cid` IN (SELECT `id` FROM `contact` WHERE `archive`)"];
DBA::delete('queue', $condition);
$this->out(L10n::t('The contact entries have been archived'));
} else {
throw new RuntimeException('The contact archival failed.');