alecpl
2011-04-08 6491fbdbae0a2a6e747e283bae0f511ce852c0e9
program/include/rcube_mdb2.php
@@ -570,15 +570,7 @@
     */
    function fromunixtime($timestamp)
    {
        switch($this->db_provider) {
            case 'mysqli':
            case 'mysql':
            case 'sqlite':
                return sprintf("FROM_UNIXTIME(%d)", $timestamp);
            default:
                return date("'Y-m-d H:i:s'", $timestamp);
        }
        return date("'Y-m-d H:i:s'", $timestamp);
    }