Browse Source

Fixed Memcached get connection instance typo in __callStatic method.

Signed-off-by: Rack Lin <racklin@gmail.com>
Rack Lin 12 years ago
parent
commit
9944192af9
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);
 	}
 
 }