reverted back ...

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-05-13 10:20:15 +02:00
parent 445cc1cb99
commit 87dbe03521
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -43,7 +43,7 @@ function wk_social_relay()
$tags = []; $tags = [];
if ($scope == SR_SCOPE_TAGS) { if ($scope == SR_SCOPE_TAGS) {
$server_tags = get_config('system', 'relay_server_tags'); $server_tags = Config::get('system', 'relay_server_tags');
$tagitems = explode(",", $server_tags); $tagitems = explode(",", $server_tags);
/// @todo Check if it was better to use "strtolower" on the tags /// @todo Check if it was better to use "strtolower" on the tags
@ -52,7 +52,7 @@ function wk_social_relay()
$tags[$tag] = $tag; $tags[$tag] = $tag;
} }
if (get_config('system', 'relay_user_tags')) { if (Config::get('system', 'relay_user_tags')) {
$terms = q("SELECT DISTINCT(`term`) FROM `search`"); $terms = q("SELECT DISTINCT(`term`) FROM `search`");
foreach ($terms AS $term) { foreach ($terms AS $term) {