aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-02-15 11:39:59 +0100
committerMario <mario@mariovavti.com>2019-02-15 11:39:59 +0100
commitca917f7b9ae3f47f7159179f34fe769fb4665e5f (patch)
tree3dd9dfee3b65f5f80d91ffd7883d7a965a3292e5 /Zotlabs/Module/Admin
parente64c5661da564426fa597e665451112177719aca (diff)
downloadvolse-hubzilla-ca917f7b9ae3f47f7159179f34fe769fb4665e5f.tar.gz
volse-hubzilla-ca917f7b9ae3f47f7159179f34fe769fb4665e5f.tar.bz2
volse-hubzilla-ca917f7b9ae3f47f7159179f34fe769fb4665e5f.zip
exclude addon_common from addon list
Diffstat (limited to 'Zotlabs/Module/Admin')
-rw-r--r--Zotlabs/Module/Admin/Addons.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Addons.php b/Zotlabs/Module/Admin/Addons.php
index b35922aef..b8e3e3a2e 100644
--- a/Zotlabs/Module/Admin/Addons.php
+++ b/Zotlabs/Module/Admin/Addons.php
@@ -375,6 +375,9 @@ class Addons {
if($files) {
foreach($files as $file) {
if (is_dir($file)){
+ if($file == 'addon/addon_common/')
+ continue;
+
list($tmp, $id) = array_map('trim', explode('/', $file));
$info = get_plugin_info($id);
$enabled = in_array($id,\App::$plugins);
@@ -476,4 +479,4 @@ class Addons {
return(strcmp(strtolower($a[2]['name']),strtolower($b[2]['name'])));
}
-} \ No newline at end of file
+}