diff --git a/core/control/Director.php b/core/control/Director.php index 16087abba..5fe261a92 100644 --- a/core/control/Director.php +++ b/core/control/Director.php @@ -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; diff --git a/dev/CliDebugView.php b/dev/CliDebugView.php index 9848be2e0..fb2857c65 100644 --- a/dev/CliDebugView.php +++ b/dev/CliDebugView.php @@ -50,7 +50,7 @@ class CliDebugView extends DebugView { * Write a backtrace */ function writeTrace() { - Debug::backtrace(); + SSBacktrace::backtrace(); } /**