mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Remove the queue from the core
This commit is contained in:
parent
bd13a73b2b
commit
46a99a05a1
12 changed files with 46 additions and 381 deletions
|
@ -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.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue