fixed "PHP Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM" under PHP 5.2

This commit is contained in:
Ralf Becker 2013-07-30 11:53:25 +00:00
parent c9a9db53aa
commit 5a5717b972

View File

@ -880,8 +880,7 @@ class emailadmin_bo extends so_sql
($profile['defaultQuota'] > 0 || (string)$profile['defaultQuota'] === '0') &&
stripos(constant($profile['imapType'].'::CAPABILITIES'), 'providedefaultquota') !==false)
{
$classname = $profile['imapType'];
$classname::setDefaultQuota($profile['defaultQuota']);
call_user_func(array($profile['imapType'], 'setDefaultQuota'), $profile['defaultQuota']);
}
self::$sessionData['profile'] = array();
$this->saveSessionData();