]> git.mxchange.org Git - friendica.git/blobdiff - mod/apps.php
configurable format for date input selectors
[friendica.git] / mod / apps.php
index f25722df785ac6942353c74579ba5fc14a967cce..7a0a3f59ea1d62636a28bd7eb0bc90ac855c700c 100644 (file)
@@ -5,19 +5,9 @@ function apps_content(&$a) {
 
        $o .= '<h3>' . t('Applications') . '</h3>';
 
-       $apps = false;
-
-       if(local_user()) {
-               $apps = true;
-               $o .= '<div class="app-title"><a href="notes">' . t('Private Notes') . '</a></div>';
-       }
-
-       if($a->apps) {
-               $apps = true;
+       if($a->apps)
                $o .= $a->apps;
-       }
-
-       if(! $apps)
+       else
                notice( t('No installed applications.') . EOL);
 
        return $o;