aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regver.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/regver.php')
-rw-r--r--mod/regver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/regver.php b/mod/regver.php
index c3ade2ee1..a26843376 100644
--- a/mod/regver.php
+++ b/mod/regver.php
@@ -4,7 +4,7 @@ function regver_content(&$a) {
global $lang;
- $_SESSION['return_url'] = $a->cmd;
+ $_SESSION['return_url'] = App::$cmd;
if(argc() != 3)
killme();
@@ -13,10 +13,10 @@ function regver_content(&$a) {
$hash = argv(2);
if($cmd === 'deny') {
- if (!user_deny($hash)) killme();
+ if (! account_deny($hash)) killme();
}
if($cmd === 'allow') {
- if (!user_approve($hash)) killme();
+ if (! account_approve($hash)) killme();
}
}