mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Debug::backtrace() calls now call SSBacktrace::backtrace()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84782 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
dcfd803480
commit
9e45d960bf
@ -725,7 +725,7 @@ class Director {
|
||||
*/
|
||||
static function set_environment_type($et) {
|
||||
if($et != 'dev' && $et != 'test' && $et != 'live') {
|
||||
Debug::backtrace();
|
||||
SSBacktrace::backtrace();
|
||||
user_error("Director::set_environment_type passed '$et'. It should be passed dev, test, or live", E_USER_WARNING);
|
||||
} else {
|
||||
self::$environment_type = $et;
|
||||
|
@ -50,7 +50,7 @@ class CliDebugView extends DebugView {
|
||||
* Write a backtrace
|
||||
*/
|
||||
function writeTrace() {
|
||||
Debug::backtrace();
|
||||
SSBacktrace::backtrace();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user