]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Merge pull request #4208 from annando/thr-parent
[friendica.git] / mod / profiles.php
index 2ed0daff1ce5e8c1a726674f48dd2f77499811bb..cc01f74dd884799f7f7423715d0f268259ae4601 100644 (file)
@@ -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(