From b54937e5dd9465f858d6326979132b9dffb843f7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Apr 2010 03:05:18 +0000 Subject: [PATCH] MINOR Removed debug code git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102783 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/Director.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/control/Director.php b/core/control/Director.php index cac254a43..de984e4d5 100755 --- a/core/control/Director.php +++ b/core/control/Director.php @@ -728,7 +728,6 @@ class Director { */ static function set_environment_type($et) { if($et != 'dev' && $et != 'test' && $et != 'live') { - SS_Backtrace::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;