provide a feature/unfeature app button

This commit is contained in:
Mario Vavti
2017-01-30 15:17:46 +01:00
parent 15be542e56
commit d0827dbb3c
4 changed files with 34 additions and 5 deletions

View File

@@ -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']);