"gcontact" removed in the themes as well
This commit is contained in:
parent
d53f46b958
commit
c03cf39c26
2 changed files with 13 additions and 45 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue