diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-30 15:17:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-30 15:17:46 +0100 |
commit | d0827dbb3c61727deba6fa9c2df3718467274e55 (patch) | |
tree | 3087fde9b0a5e316170561908525f43dbc9912a8 /Zotlabs/Module | |
parent | 15be542e56543b14d03ca0c90faecc620b9b6a28 (diff) | |
download | volse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.tar.gz volse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.tar.bz2 volse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.zip |
provide a feature/unfeature app button
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Appman.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Appman.php b/Zotlabs/Module/Appman.php index a7631758b..270301d34 100644 --- a/Zotlabs/Module/Appman.php +++ b/Zotlabs/Module/Appman.php @@ -62,6 +62,10 @@ class Appman extends \Zotlabs\Web\Controller { return; } + if($_POST['feature']) { + Zlib\Apps::app_feature(local_channel(),$papp); + } + if($_SESSION['return_url']) goaway(z_root() . '/' . $_SESSION['return_url']); |