Skip to content

Commit e88a713

Browse files
committed
Cleanup dead code
1 parent e9ec761 commit e88a713

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

interface/web/dashboard/dashlets/mailquota.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,18 @@ function show() {
2222
$tpl->setVar('mailbox_show_last_access', $mail_config['mailbox_show_last_access']);
2323

2424
$emails = $app->quota_lib->get_mailquota_data( ($_SESSION["s"]["user"]["typ"] != 'admin') ? $_SESSION['s']['user']['client_id'] : null);
25-
//print_r($emails);
2625

2726
$has_mailquota = false;
2827
if(is_array($emails) && !empty($emails)){
2928
foreach($emails as &$email) {
3029
$email['email'] = $app->functions->idn_decode($email['email']);
3130
}
3231
unset($email);
33-
// email username is quoted in quota.lib already, so no htmlentities here to prevent double encoding
34-
//$emails = $app->functions->htmlentities($emails);
35-
$email['last_access'] = date($app->lng('conf_format_datetime'), $email['last_access']);
3632
$tpl->setloop('mailquota', $emails);
3733
$has_mailquota = isset($emails[0]['used']);
3834
}
3935
$tpl->setVar('has_mailquota', $has_mailquota);
4036

4137
return $tpl->grab();
4238
}
43-
4439
}
45-
46-
47-
48-
49-
50-
51-
52-
53-
?>

0 commit comments

Comments
 (0)