aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-05-28 08:11:40 +0000
committerMario <mario@mariovavti.com>2021-05-28 08:11:40 +0000
commit0718ac514d2421a96ab191f874a0cd8b120a5a78 (patch)
tree61640e142ee1412b2fa2856d1ec09807cf4be0bc /Zotlabs/Module/Sse_bs.php
parentd289994da4b7717199abf8bf8d43b1a021f250fe (diff)
downloadvolse-hubzilla-0718ac514d2421a96ab191f874a0cd8b120a5a78.tar.gz
volse-hubzilla-0718ac514d2421a96ab191f874a0cd8b120a5a78.tar.bz2
volse-hubzilla-0718ac514d2421a96ab191f874a0cd8b120a5a78.zip
remove deprecated mail code
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r--Zotlabs/Module/Sse_bs.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index cc67c8eb7..4c903aa2c 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -100,7 +100,6 @@ class Sse_bs extends Controller {
self::bs_forums(),
self::bs_pubs($pubs),
self::bs_files(),
- self::bs_mail(),
self::bs_all_events(),
self::bs_register(),
self::bs_info_notice()
@@ -618,36 +617,6 @@ class Sse_bs extends Controller {
}
- function bs_mail() {
-
- $result['mail']['notifications'] = [];
- $result['mail']['count'] = 0;
- $result['mail']['offset'] = -1;
-
- if(! self::$uid)
- return $result;
-
- if(! (self::$vnotify & VNOTIFY_MAIL))
- return $result;
-
- $r = q("select mail.*, xchan.* from mail left join xchan on xchan_hash = from_xchan
- where channel_id = %d and mail_seen = 0 and mail_deleted = 0
- and from_xchan != '%s' order by created desc",
- intval(self::$uid),
- dbesc(self::$ob_hash)
- );
-
- if($r) {
- foreach($r as $rr) {
- $result['mail']['notifications'][] = Enotify::format_mail($rr);
- }
- $result['mail']['count'] = count($r);
- }
-
- return $result;
-
- }
-
function bs_all_events() {
$result['all_events']['notifications'] = [];