mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Update function calls
update function calls to use profile class
This commit is contained in:
parent
4cfa46186a
commit
4fb2547df8
45 changed files with 360 additions and 294 deletions
|
@ -9,6 +9,7 @@ use Friendica\Content\Feature;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Util\Map;
|
||||
|
||||
require_once 'include/bbcode.php';
|
||||
|
@ -964,7 +965,7 @@ function format_event_item($item) {
|
|||
$profile_link = best_link_url($item, $sp);
|
||||
|
||||
if (!$sp) {
|
||||
$profile_link = zrl($profile_link);
|
||||
$profile_link = Profile::zrl($profile_link);
|
||||
}
|
||||
|
||||
$event = replace_macros(get_markup_template('event_stream_item.tpl'), array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue