Skip to content

Commit 8630995

Browse files
patrickbajaoChris Boulton
authored andcommitted
Modified setBackend() to accept as the second parameter
1 parent 27beb8c commit 8630995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Resque
2626
* @param mixed $server Host/port combination separated by a colon, or
2727
* a nested array of servers with host/port pairs.
2828
*/
29-
public static function setBackend($server)
29+
public static function setBackend($server, $database = 0)
3030
{
3131
if(is_array($server)) {
3232
require_once dirname(__FILE__) . '/Resque/RedisCluster.php';

0 commit comments

Comments
 (0)