get app structure needed in regmod

This commit is contained in:
Friendika 2011-06-29 00:40:43 -07:00
parent 48521fa4e1
commit 62340ba86b

View file

@ -1,6 +1,9 @@
<?php
function user_allow($hash) {
$a = get_app();
$register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",
dbesc($hash)
);