From baa7020036f4b6112a58a99d04af2f5287a8c815 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 9 May 2016 22:28:54 -0700 Subject: revert shutdown function --- Zotlabs/Module/Manage.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Manage.php b/Zotlabs/Module/Manage.php index fee202263..5ae79dbb2 100644 --- a/Zotlabs/Module/Manage.php +++ b/Zotlabs/Module/Manage.php @@ -28,10 +28,12 @@ class Manage extends \Zotlabs\Web\Controller { } goaway(z_root() . '/manage'); } + if($change_channel) { + $r = change_channel($change_channel); - + if((argc() > 2) && !(argv(2) === 'default')) { goaway(z_root() . '/' . implode('/',array_slice(\App::$argv,2))); // Go to whatever is after /manage/, but with the new channel } -- cgit v1.2.3