mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
send less messages to server; remove delete option
This commit is contained in:
parent
ebabd25717
commit
f4f3c8375f
4 changed files with 52 additions and 34 deletions
|
@ -48,8 +48,8 @@ function construct_mailbox_name($mailacct) {
|
|||
|
||||
|
||||
function email_msg_meta($mbox,$uid) {
|
||||
$ret = (($mbox && $uid) ? @imap_fetch_overview($mbox,$uid,FT_UID) : array(array()));
|
||||
return ((count($ret)) ? $ret[0] : array());
|
||||
$ret = (($mbox && $uid) ? @imap_fetch_overview($mbox,$uid,FT_UID) : array(array())); // POSSIBLE CLEANUP --> array(array()) is probably redundant now
|
||||
return ((count($ret)) ? $ret : array());
|
||||
}
|
||||
|
||||
function email_msg_headers($mbox,$uid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue