roundcubemail/program/lib/Roundcube/rcube.php
public function memcache_failure($host, $port)
    {
        static $seen = array();

        // only report once
        if (!$seen["$host:$port"]++) {
            $this->mc_available--;
            self::raise_error(array(
                'code' => 604, 'type' => 'db',
                'line' => __LINE__, 'file' => __FILE__,
                'message' => "Memcache failure on host $host:$port"),
                true, false);
        }
    }
public function memcache_failure($host, $port)
    {
        static $seen = array();

        // only report once
        if (!$seen["$host:$port"]++) {
            $this->mc_available--;
            self::raise_error(array(
                'code' => 604, 'type' => 'db',
                'line' => __LINE__, 'file' => __FILE__,
                'message' => "Memcache failure on host $host:$port"),
                true, false);
        }
    }
public function memcache_failure ( $ host , $ port ) { static $ seen = array ( ) ; // only report once if ( ! $ seen [ "$host:$port" ] ++ ) { $ this -> mc_available -- ; self :: raise_error ( array ( 'code' => 604 , 'type' => 'db' , 'line' => __LINE__ , 'file' => __FILE__ , 'message' => "Memcache failure on host $host:$port" ) , true , false ) ; } }
Callback for memcache failure
Callback for memcache failure