]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
Replace x() by isset(), !empty() or defaults()
[friendica.git] / mod / removeme.php
index ee0b66db8a3f282703eb52f415ae7518a341a513..19bf0bc8515ba094091cdec26e7bbf2dcd90a296 100644 (file)
@@ -20,15 +20,15 @@ function removeme_post(App $a)
                return;
        }
 
-       if (x($_SESSION, 'submanage') && intval($_SESSION['submanage'])) {
+       if (!empty($_SESSION['submanage'])) {
                return;
        }
 
-       if ((!x($_POST, 'qxz_password')) || (!strlen(trim($_POST['qxz_password'])))) {
+       if (empty($_POST['qxz_password'])) {
                return;
        }
 
-       if ((!x($_POST, 'verify')) || (!strlen(trim($_POST['verify'])))) {
+       if (empty($_POST['verify'])) {
                return;
        }