mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
* EMailAdmin: make imap classes and default smtp class usable with PHP 5.2, LDAP requires 5.3!
This commit is contained in:
parent
5a5717b972
commit
a46d694d89
@ -45,6 +45,16 @@ class cyrusimap extends defaultimap
|
||||
|
||||
var $cyrusAdminPassword;
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates an account
|
||||
*
|
||||
|
@ -30,6 +30,16 @@ class dbmaildbmailuser extends defaultimap
|
||||
*/
|
||||
const CAPABILITIES = 'default|sieve';
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
function addAccount($_hookValues) {
|
||||
return $this->updateAccount($_hookValues);
|
||||
}
|
||||
|
@ -30,6 +30,16 @@ class dbmailqmailuser extends defaultimap
|
||||
*/
|
||||
const CAPABILITIES = 'default|sieve';
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
function addAccount($_hookValues) {
|
||||
return $this->updateAccount($_hookValues);
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ class defaultimap extends Net_IMAP
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return static::DESCRIPTION;
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -60,6 +60,16 @@ class emailadmin_dovecot extends defaultimap
|
||||
*/
|
||||
var $user_home; // = '/var/dovecot/imap/%d/%u';
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Opens a connection to a imap server
|
||||
*
|
||||
|
@ -86,7 +86,7 @@ class emailadmin_smtp
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return static::DESCRIPTION;
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -64,6 +64,16 @@ class emailadmin_smtp_sql extends emailadmin_smtp
|
||||
$this->db = $GLOBALS['egw']->db;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all email addresses of an account
|
||||
*
|
||||
|
@ -56,6 +56,16 @@ class pleskimap extends defaultimap
|
||||
*/
|
||||
var $error = false;
|
||||
|
||||
/**
|
||||
* Return description for EMailAdmin
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function description()
|
||||
{
|
||||
return self::DESCRIPTION;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a full mailbox or just forward, depending on the given email address
|
||||
* If email matches the default domain, we create a full mailbox, otherwise we create a forward
|
||||
|
Loading…
Reference in New Issue
Block a user