mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Issue-#3873
Replace deprecated functions with new syntax.
This commit is contained in:
parent
9eb1f4b9c3
commit
0dfa57948f
124 changed files with 819 additions and 679 deletions
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
|
||||
|
@ -42,7 +43,7 @@ function user_allow($hash) {
|
|||
);
|
||||
if (dbm::is_result($r) && $r[0]['net-publish']) {
|
||||
$url = System::baseUrl() . '/profile/' . $user[0]['nickname'];
|
||||
if ($url && strlen(get_config('system','directory'))) {
|
||||
if ($url && strlen(Config::get('system','directory'))) {
|
||||
Worker::add(PRIORITY_LOW, "directory", $url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue