aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-15 12:45:39 +0000
committerMario <mario@mariovavti.com>2021-03-15 12:45:39 +0000
commitbd24224b761d8471767b8a5b7bd5e626583485f6 (patch)
tree6699205f3cc49d236f7e0e2b695dfe1516a8928c /Zotlabs/Module/Sse_bs.php
parenta5ac3888898d709bdd63900dff79b21823477d85 (diff)
downloadvolse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.tar.gz
volse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.tar.bz2
volse-hubzilla-bd24224b761d8471767b8a5b7bd5e626583485f6.zip
air: fix register notifications
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r--Zotlabs/Module/Sse_bs.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index 3b39d5b49..237becc09 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -689,9 +689,8 @@ class Sse_bs extends Controller {
if(! (self::$vnotify & VNOTIFY_REGISTER))
return $result;
- $r = q("SELECT account_email, account_created from account where (account_flags & %d) > 0",
- intval(ACCOUNT_PENDING)
- );
+ $r = get_pending_accounts();
+
if($r) {
foreach($r as $rr) {
$result['register']['notifications'][] = Enotify::format_register($rr);