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:
Sean Harvey 2009-08-19 04:22:36 +00:00
parent dcfd803480
commit 9e45d960bf
2 changed files with 2 additions and 2 deletions

View File

@ -725,7 +725,7 @@ class Director {
*/ */
static function set_environment_type($et) { static function set_environment_type($et) {
if($et != 'dev' && $et != 'test' && $et != 'live') { 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); user_error("Director::set_environment_type passed '$et'. It should be passed dev, test, or live", E_USER_WARNING);
} else { } else {
self::$environment_type = $et; self::$environment_type = $et;

View File

@ -50,7 +50,7 @@ class CliDebugView extends DebugView {
* Write a backtrace * Write a backtrace
*/ */
function writeTrace() { function writeTrace() {
Debug::backtrace(); SSBacktrace::backtrace();
} }
/** /**