Skip to content

Commit

Permalink
zendframework#7095 - removing explicit PHP 5.3 handling of `debug_bac…
Browse files Browse the repository at this point in the history
…ktrace()` constants
  • Loading branch information
Ocramius committed Jan 13, 2015
1 parent 7f20c9b commit b1b8db9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions library/Zend/Log/Processor/Backtrace.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ public function process(array $event)
*/
protected function getBacktrace()
{
if (PHP_VERSION_ID >= 50400) {
return debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, $this->traceLimit);
}

return debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
return debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, $this->traceLimit);
}
}

0 comments on commit b1b8db9

Please sign in to comment.