aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-20 20:34:19 -0700
committerredmatrix <git@macgirvin.com>2016-06-20 20:34:19 -0700
commited166608670c5b5d237c43bd0d672502d5b624f5 (patch)
treeffdbb34528414abde4bbcc6b8b4d3414990c416f /include/plugin.php
parent9c9d6363af22eeec7f38856302abb3251cb78a10 (diff)
downloadvolse-hubzilla-ed166608670c5b5d237c43bd0d672502d5b624f5.tar.gz
volse-hubzilla-ed166608670c5b5d237c43bd0d672502d5b624f5.tar.bz2
volse-hubzilla-ed166608670c5b5d237c43bd0d672502d5b624f5.zip
code optimisation
Diffstat (limited to 'include/plugin.php')
-rwxr-xr-xinclude/plugin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/plugin.php b/include/plugin.php
index 9b84039a6..c95f8cbf9 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -167,6 +167,12 @@ function reload_plugins() {
}
}
+function visible_plugin_list() {
+ $r = q("select * from addon where hidden = 0 order by aname asc");
+ return(($r) ? ids_to_array($r,'aname') : array());
+}
+
+
/**
* @brief registers a hook.