SignMeType::DEFAILT_* to SignMeType::DEFAULT_*

This commit is contained in:
djmaze 2020-12-01 21:20:50 +01:00
parent 9679b63b60
commit 8d578dcec1
3 changed files with 5 additions and 5 deletions

View file

@ -1188,7 +1188,7 @@ class Actions
$aResult['AllowLanguagesOnSettings'] = (bool)$oConfig->Get('webmail', 'allow_languages_on_settings', true);
$aResult['AllowLanguagesOnLogin'] = (bool)$oConfig->Get('login', 'allow_languages_on_login', true);
$aResult['AttachmentLimit'] = ((int)$oConfig->Get('webmail', 'attachment_size_limit', 10)) * 1024 * 1024;
$aResult['SignMe'] = (string)$oConfig->Get('login', 'sign_me_auto', Enumerations\SignMeType::DEFAILT_OFF);
$aResult['SignMe'] = (string)$oConfig->Get('login', 'sign_me_auto', Enumerations\SignMeType::DEFAULT_OFF);
$aResult['UseLocalProxyForExternalImages'] = (bool)$oConfig->Get('labs', 'use_local_proxy_for_external_images', false);
// user

View file

@ -213,7 +213,7 @@ class Application extends \RainLoop\Config\AbstractConfig
'login_lowercase' => array(true, ''),
'sign_me_auto' => array(\RainLoop\Enumerations\SignMeType::DEFAILT_OFF,
'sign_me_auto' => array(\RainLoop\Enumerations\SignMeType::DEFAULT_OFF,
'This option allows webmail to remember the logged in user
once they closed the browser window.

View file

@ -4,7 +4,7 @@ namespace RainLoop\Enumerations;
class SignMeType
{
const DEFAILT_OFF = 'DefaultOff';
const DEFAILT_ON = 'DefaultOn';
const DEFAULT_OFF = 'DefaultOff';
const DEFAULT_ON = 'DefaultOn';
const UNUSED = 'Unused';
}
}