mirror of
https://github.com/friendica/friendica
synced 2025-04-20 05:10:11 +00:00
The boot.php had been cleared of most functions
This commit is contained in:
parent
4989d1fa99
commit
63da4a75e9
37 changed files with 279 additions and 401 deletions
|
@ -24,6 +24,7 @@ namespace Friendica\Module\WellKnown;
|
|||
use Friendica\BaseModule;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Search;
|
||||
use Friendica\Protocol\Relay;
|
||||
|
||||
/**
|
||||
* Node subscription preferences for social realy systems
|
||||
|
@ -40,7 +41,7 @@ class XSocialRelay extends BaseModule
|
|||
$systemTags = [];
|
||||
$userTags = [];
|
||||
|
||||
if ($scope == SR_SCOPE_TAGS) {
|
||||
if ($scope == Relay::SCOPE_TAGS) {
|
||||
$server_tags = $config->get('system', 'relay_server_tags');
|
||||
$tagitems = explode(',', $server_tags);
|
||||
|
||||
|
@ -57,7 +58,7 @@ class XSocialRelay extends BaseModule
|
|||
$tagList = array_unique(array_merge($systemTags, $userTags));
|
||||
|
||||
$relay = [
|
||||
'subscribe' => ($scope != SR_SCOPE_NONE),
|
||||
'subscribe' => ($scope != Relay::SCOPE_NONE),
|
||||
'scope' => $scope,
|
||||
'tags' => $tagList,
|
||||
'protocols' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue