php-resque-scheduler
php-resque-scheduler copied to clipboard
removePrefix not available on php-resque "<1.3"
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.
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.