Browse Source

Merge pull request #983 from racklin/bugfix/memcached

Fixed Memcached get connection instance typo in __callStatic method.
Taylor Otwell 12 years ago
parent
commit
764e7bc630
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/memcached.php

+ 1 - 1
laravel/memcached.php

@@ -68,7 +68,7 @@ class Memcached {
 	 */
 	public static function __callStatic($method, $parameters)
 	{
-		return call_user_func_array(array(static::instance(), $method), $parameters);
+		return call_user_func_array(array(static::connection(), $method), $parameters);
 	}
 
 }