From 863099564e401eee7552e2327b2889c049b2a211 Mon Sep 17 00:00:00 2001 From: Patrick Bajao Date: Mon, 17 Jan 2011 01:15:31 +0800 Subject: [PATCH] Modified setBackend() to accept as the second parameter --- lib/Resque.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Resque.php b/lib/Resque.php index c28a889..d429ae5 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -26,7 +26,7 @@ class Resque * @param mixed $server Host/port combination separated by a colon, or * a nested array of servers with host/port pairs. */ - public static function setBackend($server) + public static function setBackend($server, $database = 0) { if(is_array($server)) { require_once dirname(__FILE__) . '/Resque/RedisCluster.php';