Aleksander Machniak
2013-08-05 17239fa5224cefb7e32665719461beaaf5e52017
Merge pull request #100 from Dennis1993/patch-8

Remove sensless version_compare()
1 files modified
2 ■■■■■ changed files
program/lib/Roundcube/rcube_imap_generic.php 2 ●●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_imap_generic.php
@@ -800,7 +800,6 @@
        // TLS connection
        if ($this->prefs['ssl_mode'] == 'tls' && $this->getCapability('STARTTLS')) {
            if (version_compare(PHP_VERSION, '5.1.0', '>=')) {
                $res = $this->execute('STARTTLS');
                if ($res[0] != self::ERROR_OK) {
@@ -816,7 +815,6 @@
                // Now we're secure, capabilities need to be reread
                $this->clearCapability();
            }
        }
        // Send ID info