aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-29 00:40:43 -0700
committerFriendika <info@friendika.com>2011-06-29 00:40:43 -0700
commit62340ba86bccf03de962c16c06e60f7c286e35e5 (patch)
treebcc5e1e488f31e4def3be315c29aaca621e378e0 /mod/regmod.php
parent48521fa4e131cd77cb8e8cdb32ff1f96120ec4f5 (diff)
downloadvolse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.tar.gz
volse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.tar.bz2
volse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.zip
get app structure needed in regmod
Diffstat (limited to 'mod/regmod.php')
-rw-r--r--mod/regmod.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index 8e6a577d4..76ea4062e 100644
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -1,6 +1,9 @@
<?php
function user_allow($hash) {
+
+ $a = get_app();
+
$register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",
dbesc($hash)
);