1
0
Fork 0

"gcontact" removed in the themes as well

This commit is contained in:
Michael 2020-08-02 07:54:18 +00:00
commit c03cf39c26
2 changed files with 13 additions and 45 deletions

View file

@ -239,16 +239,10 @@ function vier_community_info()
$helpers = explode(",", $helperlist);
if ($helpers) {
$query = "";
foreach ($helpers as $index => $helper) {
if ($query != "") {
$query .= ",";
}
$query .= "'".DBA::escape(Strings::normaliseLink(trim($helper)))."'";
foreach ($helpers as $helper) {
$urls[] = Strings::normaliseLink(trim($helper));
}
$r = q("SELECT `url`, `name` FROM `gcontact` WHERE `nurl` IN (%s)", $query);
$r = DBA::selectToArray('contact', ['url', 'name'], ['uid' => 0, 'nurl' => $urls]);
}
foreach ($r as $index => $helper) {