aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Appman.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-30 15:17:46 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-30 15:17:46 +0100
commitd0827dbb3c61727deba6fa9c2df3718467274e55 (patch)
tree3087fde9b0a5e316170561908525f43dbc9912a8 /Zotlabs/Module/Appman.php
parent15be542e56543b14d03ca0c90faecc620b9b6a28 (diff)
downloadvolse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.tar.gz
volse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.tar.bz2
volse-hubzilla-d0827dbb3c61727deba6fa9c2df3718467274e55.zip
provide a feature/unfeature app button
Diffstat (limited to 'Zotlabs/Module/Appman.php')
-rw-r--r--Zotlabs/Module/Appman.php4
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']);