mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Merge pull request #68 from scragg0x/patch-1
Disable autoload for the class_exists func
This commit is contained in:
commit
453d985262
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ define('CRLF', sprintf('%s%s', chr(13), chr(10)));
|
||||||
* Wraps native Redis errors in friendlier PHP exceptions
|
* Wraps native Redis errors in friendlier PHP exceptions
|
||||||
* Only declared if class doesn't already exist to ensure compatibility with php-redis
|
* Only declared if class doesn't already exist to ensure compatibility with php-redis
|
||||||
*/
|
*/
|
||||||
if (! class_exists('RedisException')) {
|
if (! class_exists('RedisException', false)) {
|
||||||
class RedisException extends Exception {
|
class RedisException extends Exception {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue