aboutsummaryrefslogtreecommitdiffstats
path: root/mod/regmod.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-03-22 16:03:14 +0100
committerzottel <github@zottel.net>2012-03-22 16:03:14 +0100
commite7d80a79fff23e6f8900b40677d11d1022a45df6 (patch)
tree29355722fb8a3e993884e852a254277c80e90de4 /mod/regmod.php
parent3f3c4aec79bf3ceedd551bae7cec7acfd68e3772 (diff)
parent622b25df5f2d1ab21c9e23047bc0c98bfe72bad0 (diff)
downloadvolse-hubzilla-e7d80a79fff23e6f8900b40677d11d1022a45df6.tar.gz
volse-hubzilla-e7d80a79fff23e6f8900b40677d11d1022a45df6.tar.bz2
volse-hubzilla-e7d80a79fff23e6f8900b40677d11d1022a45df6.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/regmod.php')
-rwxr-xr-xmod/regmod.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/regmod.php b/mod/regmod.php
index 17e728ba2..21f41eb01 100755
--- a/mod/regmod.php
+++ b/mod/regmod.php
@@ -64,6 +64,11 @@ function user_allow($hash) {
}
+
+// 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
+
function user_deny($hash) {
$register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",