X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=cc01f74dd884799f7f7423715d0f268259ae4601;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=2ed0daff1ce5e8c1a726674f48dd2f77499811bb;hpb=d4ca30a6dba186a297a0c4a7e79f3d2ec72c0522;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 2ed0daff1c..cc01f74dd8 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -9,7 +9,7 @@ use Friendica\Core\PConfig; use Friendica\Core\System; use Friendica\Core\Worker; use Friendica\Database\DBM; -use Friendica\Model\GlobalContact; +use Friendica\Model\GContact; use Friendica\Model\Profile; use Friendica\Network\Probe; @@ -509,7 +509,7 @@ function profiles_post(App $a) { Worker::add(PRIORITY_LOW, 'ProfileUpdate', local_user()); // Update the global contact for the user - GlobalContact::updateForUser(local_user()); + GContact::updateForUser(local_user()); } } } @@ -655,11 +655,6 @@ function profiles_content(App $a) { $detailled_profile = (PConfig::get(local_user(), 'system', 'detailled_profile') AND $personal_account); - $f = Config::get('system', 'birthday_input_format'); - if (! $f) { - $f = 'ymd'; - } - $is_default = (($r[0]['is-default']) ? 1 : 0); $tpl = get_markup_template("profile_edit.tpl"); $o .= replace_macros($tpl, array(