mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
News "blocked" field on the gserver table
This commit is contained in:
parent
d63aca97b8
commit
356a2a9a5a
14 changed files with 140 additions and 15 deletions
|
@ -75,6 +75,8 @@ class Add extends BaseModeration
|
|||
// Add new item to blocklist
|
||||
$this->blocklist->addPattern($pattern, trim($request['reason']));
|
||||
|
||||
Worker::add(Worker::PRIORITY_LOW, 'UpdateBlockedServers');
|
||||
|
||||
$this->systemMessages->addInfo($this->t('Server domain pattern added to the blocklist.'));
|
||||
|
||||
if (!empty($request['purge'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue