wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

Do a PHP version check and use correct call for debug_backtrace() #14

Closed ruckus closed 12 years ago

ruckus commented 12 years ago

Do a PHP version check and use the appropriate form of debug_backtrace() depending on PHP version. Two-argument format of debug_backtrace() is only available in PHP >= 5.4.0

wa0x6e commented 12 years ago

Didn't really paid attention when merging, but please try top follow the plugin coding convention next time when sending a pull request.

CakeResque is following CakePHP coding convention.