mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50: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
|
@ -55,6 +55,7 @@ class UpdateGServer
|
|||
|
||||
// Silently dropping the worker task if the server domain is blocked
|
||||
if (Network::isUrlBlocked($filtered)) {
|
||||
GServer::setBlockedByUrl($filtered);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -84,6 +85,7 @@ class UpdateGServer
|
|||
{
|
||||
// Dropping the worker task if the server domain is blocked
|
||||
if (Network::isUrlBlocked($serverUrl)) {
|
||||
GServer::setBlockedByUrl($serverUrl);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue