aboutsummaryrefslogtreecommitdiffstats
path: root/mod/removeaccount.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-10 20:19:17 -0700
committerfriendica <info@friendica.com>2015-03-10 20:19:17 -0700
commit844b2ae5873ea2e53bf284abe39ad7a19fe27256 (patch)
treeae8eea847d2e3a54114ff22be4b1315b047a2056 /mod/removeaccount.php
parent65ffd209d43a4af9d0c866465d28fde26a2bbd83 (diff)
downloadvolse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.tar.gz
volse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.tar.bz2
volse-hubzilla-844b2ae5873ea2e53bf284abe39ad7a19fe27256.zip
cleanup of old delegation stuff
Diffstat (limited to 'mod/removeaccount.php')
-rw-r--r--mod/removeaccount.php2
1 files changed, 1 insertions, 1 deletions
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']))))