aboutsummaryrefslogtreecommitdiffstats
path: root/mod/removeaccount.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-11 01:03:30 -0700
committerfriendica <info@friendica.com>2015-03-11 01:03:30 -0700
commita40c19d19d31bba3fe037a9778c521461e2b0290 (patch)
tree8c09cefac7bfb25360c19f212b02b0f46a79480e /mod/removeaccount.php
parentbfd123c59a61be1d667648263aa44c4a9e14a5fc (diff)
parent0014cf4ff232328c3e3d0993eb8e9893a7c16f54 (diff)
downloadvolse-hubzilla-a40c19d19d31bba3fe037a9778c521461e2b0290.tar.gz
volse-hubzilla-a40c19d19d31bba3fe037a9778c521461e2b0290.tar.bz2
volse-hubzilla-a40c19d19d31bba3fe037a9778c521461e2b0290.zip
Merge branch 'master' into openid
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']))))