From bb67757b5cfc266db5faf0b34abb7a79fdb21b8e Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 26 May 2017 10:27:08 +0200 Subject: [PATCH] Removed global $CONFIG variable --- CHANGELOG | 1 + program/lib/Roundcube/rcube_config.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 9516dfc93..301f0c100 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Removed global $CONFIG variable - Password: Automatic virtualmin domain setting, removed password_virtualmin_format option (#5759) - Support AUTHENTICATE LOGIN for IMAP connections (#5563) - Support LDAP GSSAPI authentication (#5703) diff --git a/program/lib/Roundcube/rcube_config.php b/program/lib/Roundcube/rcube_config.php index 9aa6f281a..e8ee3d6fb 100644 --- a/program/lib/Roundcube/rcube_config.php +++ b/program/lib/Roundcube/rcube_config.php @@ -191,8 +191,6 @@ class rcube_config /** * Load config from local config file - * - * @todo Remove global $CONFIG */ private function load() { @@ -262,9 +260,6 @@ class rcube_config // remove deprecated properties unset($this->prop['dst_active']); - - // export config data - $GLOBALS['CONFIG'] = &$this->prop; } /**