aboutsummaryrefslogtreecommitdiffstats
path: root/mod/apps.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-14 10:37:54 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-14 10:37:54 +0200
commitb1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac (patch)
tree07165e07f3c2e57e4719310195f1f2fd0a211c8d /mod/apps.php
parent5882d8d022c14a12ba7b314c96289061bd195ed4 (diff)
parent9b9bd35cba293b86c871c2cfbe15e6d9c4673a7d (diff)
downloadvolse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.tar.gz
volse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.tar.bz2
volse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.zip
Merge remote-tracking branch 'friendika-master/master' into admin
Diffstat (limited to 'mod/apps.php')
-rw-r--r--mod/apps.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/mod/apps.php b/mod/apps.php
index f25722df7..7a0a3f59e 100644
--- a/mod/apps.php
+++ b/mod/apps.php
@@ -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;