aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Dreport.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-17 18:18:52 +0000
committerMario <mario@mariovavti.com>2021-08-17 18:18:52 +0000
commitdd296e1aaa3c7b992d7ec71a50ce92f74f78ca06 (patch)
tree24e77d206f0f719264fb8d0b66f5710c90db912a /Zotlabs/Module/Dreport.php
parentc3bbc35e84bc8517064a55e362aeefb905d910b4 (diff)
downloadvolse-hubzilla-dd296e1aaa3c7b992d7ec71a50ce92f74f78ca06.tar.gz
volse-hubzilla-dd296e1aaa3c7b992d7ec71a50ce92f74f78ca06.tar.bz2
volse-hubzilla-dd296e1aaa3c7b992d7ec71a50ce92f74f78ca06.zip
more legacy mail cleanup - issue #1595
Diffstat (limited to 'Zotlabs/Module/Dreport.php')
-rw-r--r--Zotlabs/Module/Dreport.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/Zotlabs/Module/Dreport.php b/Zotlabs/Module/Dreport.php
index 50d1647c8..8906a4f81 100644
--- a/Zotlabs/Module/Dreport.php
+++ b/Zotlabs/Module/Dreport.php
@@ -46,15 +46,6 @@ class Dreport extends \Zotlabs\Web\Controller {
goaway(z_root() . '/dreport/' . (($encoded_mid) ? $encoded_mid : $mid));
}
- if($mid === 'mail') {
- $table = 'mail';
- $mid = ((argc() > 2) ? argv(2) : '');
- if(strpos($mid,'b64.') === 0)
- $mid = @base64url_decode(substr($mid,4));
-
- }
-
-
if(! $mid) {
notice( t('Invalid message') . EOL);
return;
@@ -68,12 +59,6 @@ class Dreport extends \Zotlabs\Web\Controller {
dbesc($channel['channel_hash'])
);
break;
- case 'mail':
- $i = q("select id from mail where mid = '%s' and from_xchan = '%s'",
- dbesc($mid),
- dbesc($channel['channel_hash'])
- );
- break;
default:
break;
}
@@ -131,15 +116,6 @@ class Dreport extends \Zotlabs\Web\Controller {
case 'recipient not found':
$r[$x]['dreport_result'] = t('recipient not found');
break;
- case 'mail recalled':
- $r[$x]['dreport_result'] = t('mail recalled');
- break;
- case 'duplicate mail received':
- $r[$x]['dreport_result'] = t('duplicate mail received');
- break;
- case 'mail delivered':
- $r[$x]['dreport_result'] = t('mail delivered');
- break;
default:
$r[$x]['gravity'] = 1;
break;