diff options
author | Mario <mario@mariovavti.com> | 2020-09-16 09:16:27 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-09-16 09:16:27 +0000 |
commit | 4acdf9e8177187cf3921b0bce27e9a476d3ad617 (patch) | |
tree | ec34e93c442738ef409ad79d8f416f9770dc264c /Zotlabs/Module/Admin/Addons.php | |
parent | 465da3a942498caf8063e6bfb77345866d3e26ec (diff) | |
download | volse-hubzilla-4acdf9e8177187cf3921b0bce27e9a476d3ad617.tar.gz volse-hubzilla-4acdf9e8177187cf3921b0bce27e9a476d3ad617.tar.bz2 volse-hubzilla-4acdf9e8177187cf3921b0bce27e9a476d3ad617.zip |
deprecate $a variable for *_plugin_admin() and *_plugin_admin_post()
Diffstat (limited to 'Zotlabs/Module/Admin/Addons.php')
-rw-r--r-- | Zotlabs/Module/Admin/Addons.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Admin/Addons.php b/Zotlabs/Module/Admin/Addons.php index 243eb242f..b67ab7b3a 100644 --- a/Zotlabs/Module/Admin/Addons.php +++ b/Zotlabs/Module/Admin/Addons.php @@ -18,7 +18,7 @@ class Addons { @include_once("addon/" . argv(2) . "/" . argv(2) . ".php"); if(function_exists(argv(2).'_plugin_admin_post')) { $func = argv(2) . '_plugin_admin_post'; - $func($a); + $func(); } goaway(z_root() . '/admin/addons/' . argv(2) ); @@ -332,7 +332,7 @@ class Addons { @require_once("addon/$plugin/$plugin.php"); if(function_exists($plugin.'_plugin_admin')) { $func = $plugin.'_plugin_admin'; - $func($a, $admin_form); + $func($admin_form); } } |