]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Fix formatting and PHP Notice in frio theme
[friendica.git] / mod / profile_photo.php
index e12c6e5c646b6a56111d3b289a42414363a3d41d..5b75e654dff95a08a635533f18cf91a30793bc19 100644 (file)
@@ -178,7 +178,6 @@ function profile_photo_post(App $a) {
 }
 
 
-if(! function_exists('profile_photo_content')) {
 function profile_photo_content(App $a) {
 
        if (! local_user()) {
@@ -285,10 +284,9 @@ function profile_photo_content(App $a) {
        }
 
        return; // NOTREACHED
-}}
+}
 
 
-if(! function_exists('profile_photo_crop_ui_head')) {
 function profile_photo_crop_ui_head(App $a, Image $Image) {
        $max_length = Config::get('system','max_image_length');
        if (! $max_length) {
@@ -337,5 +335,4 @@ function profile_photo_crop_ui_head(App $a, Image $Image) {
        $a->page['htmlhead'] .= replace_macros(get_markup_template("crophead.tpl"), array());
        $a->page['end'] .= replace_macros(get_markup_template("cropend.tpl"), array());
        return;
-}}
-
+}