X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fprofile_update.php;h=0fcf3617fbeb0d80c5923b4485c589ab0e27cefa;hb=8944ad1ac1bb4293eeacd79536cdeed3173cad9a;hp=611b00819da3a161ca798b359c6bebac75434090;hpb=6b8585d48d67d109102e33a32311d76a45762667;p=friendica.git diff --git a/include/profile_update.php b/include/profile_update.php index 611b00819d..0fcf3617fb 100644 --- a/include/profile_update.php +++ b/include/profile_update.php @@ -7,12 +7,12 @@ require_once('include/queue_fn.php'); function profile_change() { $a = get_app(); - + if(! local_user()) return; // $url = $a->get_baseurl() . '/profile/' . $a->user['nickname']; -// if($url && strlen(get_config('system','directory_submit_url'))) +// if($url && strlen(get_config('system','directory'))) // proc_run('php',"include/directory.php","$url"); $recips = q("SELECT `id`,`name`,`network`,`pubkey`,`notify` FROM `contact` WHERE `network` = '%s' @@ -29,7 +29,7 @@ function profile_change() { WHERE `user`.`uid` = %d AND `profile`.`is-default` = 1 LIMIT 1", intval(local_user()) ); - + if(! count($r)) return; $profile = $r[0];