aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-16 14:47:30 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-16 14:47:30 -0800
commitb155f2260f56c0f72058d7f9190c8d221f463e80 (patch)
tree087fca5b3a32a283d5b31d8e8a62b6b77e7f167c /mod/register.php
parent9b4e6e1ec028d4525635e2b1a25025f7fea0ed88 (diff)
downloadvolse-hubzilla-b155f2260f56c0f72058d7f9190c8d221f463e80.tar.gz
volse-hubzilla-b155f2260f56c0f72058d7f9190c8d221f463e80.tar.bz2
volse-hubzilla-b155f2260f56c0f72058d7f9190c8d221f463e80.zip
some notifier optimisations. Also put a fixme on the invite total generations for new accounts, which is incorrect and now commented out.
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php
index 70bdcf350..2e9967c60 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -103,7 +103,9 @@ function register_post(&$a) {
if($using_invites && $invite_code) {
q("delete * from register where hash = '%s'", dbesc($invite_code));
- set_pconfig($result['account']['account_id'],'system','invites_remaining',$num_invites);
+// @FIXME - this total needs to be stored by account, but pconfig operates on channels
+// This also needs to be considered when using 'invites_remaining' in mod/invite.php
+// set_pconfig($result['account']['account_id'],'system','invites_remaining',$num_invites);
}
if($policy == REGISTER_OPEN ) {