forked from extern/egroupware
phpgroupware -> egroupware
Fix for BUG [ 844428 ] X-Mailer text should be changed
This commit is contained in:
parent
51e2eb61da
commit
2eebcbee3a
@ -298,7 +298,7 @@
|
|||||||
// remove the uid from memberuid
|
// remove the uid from memberuid
|
||||||
$newData['memberuid'] = array_flip($newData['memberuid']);
|
$newData['memberuid'] = array_flip($newData['memberuid']);
|
||||||
unset($newData['memberuid'][$oldAccountID]);
|
unset($newData['memberuid'][$oldAccountID]);
|
||||||
$newData['memberuid'] = array_values(array_unique(array_flip($newData['memberuid'])));
|
$newData['memberuid'] = array_values(sort(array_flip($newData['memberuid'])));
|
||||||
ldap_mod_replace($this->ds, $dn, $newData);
|
ldap_mod_replace($this->ds, $dn, $newData);
|
||||||
#print ldap_error($this->ds);
|
#print ldap_error($this->ds);
|
||||||
|
|
||||||
@ -314,7 +314,7 @@
|
|||||||
// remove the uid from memberuid
|
// remove the uid from memberuid
|
||||||
$newData['memberuid'] = array_flip($newData['memberuid']);
|
$newData['memberuid'] = array_flip($newData['memberuid']);
|
||||||
unset($newData['memberuid'][$oldAccountID]);
|
unset($newData['memberuid'][$oldAccountID]);
|
||||||
$newData['memberuid'] = array_values(array_unique(array_flip($newData['memberuid'])));
|
$newData['memberuid'] = array_values(sort(array_flip($newData['memberuid'])));
|
||||||
ldap_mod_replace($this->ds, $dn, $newData);
|
ldap_mod_replace($this->ds, $dn, $newData);
|
||||||
#print ldap_error($this->ds);
|
#print ldap_error($this->ds);
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
{
|
{
|
||||||
$header .= 'X-phpGW-Type: '.$msgtype."\n";
|
$header .= 'X-phpGW-Type: '.$msgtype."\n";
|
||||||
}
|
}
|
||||||
$header .= 'X-Mailer: phpGroupWare (http://www.phpgroupware.org)'."\n";
|
$header .= 'X-Mailer: eGroupWare (http://www.egroupware.org)'."\n";
|
||||||
|
|
||||||
/* // moved to email/send_message.php
|
/* // moved to email/send_message.php
|
||||||
if ($GLOBALS['phpgw_info']['user']['preferences']['email']['email_sig'] && $attach_sig)
|
if ($GLOBALS['phpgw_info']['user']['preferences']['email']['email_sig'] && $attach_sig)
|
||||||
|
Loading…
Reference in New Issue
Block a user