aboutsummaryrefslogtreecommitdiffstats
path: root/include/apps.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-22 02:13:33 -0700
committerfriendica <info@friendica.com>2014-05-22 02:13:33 -0700
commit6f7fb7a2ac3a8462b8f642436d191ccca720cd9e (patch)
tree07cf914c66392080dc8131b9e002093bc30bb876 /include/apps.php
parentae1acf17260ee6d93dac5f54176ffa378e32b100 (diff)
downloadvolse-hubzilla-6f7fb7a2ac3a8462b8f642436d191ccca720cd9e.tar.gz
volse-hubzilla-6f7fb7a2ac3a8462b8f642436d191ccca720cd9e.tar.bz2
volse-hubzilla-6f7fb7a2ac3a8462b8f642436d191ccca720cd9e.zip
sort by app name and not by apd filename
Diffstat (limited to 'include/apps.php')
-rw-r--r--include/apps.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/apps.php b/include/apps.php
index bf5b292d0..9eb54af00 100644
--- a/include/apps.php
+++ b/include/apps.php
@@ -31,11 +31,14 @@ function get_system_apps() {
}
}
}
-
+ usort($ret,'app_name_compare');
return $ret;
}
+function app_name_compare($a,$b) {
+ return strcmp($a['name'],$b['name']);
+}
function parse_app_description($f) {
$ret = array();