php-resque-scheduler icon indicating copy to clipboard operation
php-resque-scheduler copied to clipboard

removePrefix not available on php-resque "<1.3"

Open serpro opened this issue 11 years ago • 1 comments

On line 115 of https://github.com/chrisboulton/php-resque-scheduler/blob/1.1/lib/ResqueScheduler.php#L115 you can see

$key=$redis->removePrefix($key);

But then the composer.json file says:

"require": {
                "chrisboulton/php-resque": "< 1.3"
        }

The removePrefix method (and others) are only available at the moment in the master branch, and it's never going to work with versions lower than 1.3 of php-resque.

serpro avatar Jan 30 '14 15:01 serpro

I've created an issue on PHP Resque which should fix this. It's been so long since any of us actually worked on 1.2 that we've forgotten what was available, and what wasn't added until shortly after the release was tagged.

danhunsaker avatar Jan 31 '14 00:01 danhunsaker