require_once('include/enotify.php');
require_once('include/user.php');
-if(! function_exists('user_allow')) {
function user_allow($hash) {
$a = get_app();
info( t('Account approved.') . EOL );
return true;
}
-}
+
}
// This does not have to go through user_remove() and save the nickname
// permanently against re-registration, as the person was not yet
// allowed to have friends on this system
-if(! function_exists('user_deny')) {
+
function user_deny($hash) {
$register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",
);
notice( sprintf(t('Registration revoked for %s'), $user[0]['username']) . EOL);
return true;
-}
+
}
-if(! function_exists('regmod_content')) {
function regmod_content(&$a) {
global $lang;
killme();
}
}
-}