mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Rename selectOne to selectFirst
This commit is contained in:
parent
c7a7658316
commit
ae66bcaff3
51 changed files with 821 additions and 821 deletions
|
@ -57,7 +57,7 @@ if (in_array($net['network'], array(NETWORK_PHANTOM, NETWORK_MAIL))) {
|
|||
exit(1);
|
||||
}
|
||||
$nurl = normalise_link($net['url']);
|
||||
$r = dba::selectOne("contact", ["id"], ["nurl" => $nurl, "uid" => 0]);
|
||||
$r = dba::selectFirst("contact", ["id"], ["nurl" => $nurl, "uid" => 0]);
|
||||
if (DBM::is_result($r)) {
|
||||
dba::update("contact", array("hidden" => true), array("id" => $r["id"]));
|
||||
echo "NOTICE: The account should be silenced from the global community page\r\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue