From 844b2ae5873ea2e53bf284abe39ad7a19fe27256 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 10 Mar 2015 20:19:17 -0700 Subject: cleanup of old delegation stuff --- mod/removeaccount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/removeaccount.php') diff --git a/mod/removeaccount.php b/mod/removeaccount.php index 70979ec15..f3fa53f75 100644 --- a/mod/removeaccount.php +++ b/mod/removeaccount.php @@ -5,7 +5,7 @@ function removeaccount_post(&$a) { if(! local_channel()) return; - if(x($_SESSION,'submanage') && intval($_SESSION['submanage'])) + if($_SESSION['delegate']) return; if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password'])))) -- cgit v1.2.3