mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Modified setBackend() to accept as the second parameter
This commit is contained in:
parent
27beb8cc20
commit
863099564e
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue