mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Code reworks: replaced hardcoded network text with the corresponding constants.
This commit is contained in:
parent
dea1b067bd
commit
0e895e24f7
7 changed files with 21 additions and 18 deletions
|
@ -920,7 +920,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) {
|
|||
if($redirect) {
|
||||
$a = get_app();
|
||||
$redirect_url = $a->get_baseurl() . '/redir/' . $contact['id'];
|
||||
if(local_user() && ($contact['uid'] == local_user()) && ($contact['network'] === 'dfrn')) {
|
||||
if(local_user() && ($contact['uid'] == local_user()) && ($contact['network'] === NETWORK_DFRN)) {
|
||||
$redir = true;
|
||||
$url = $redirect_url;
|
||||
$sparkle = ' sparkle';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue