Permalink
Browse files

MINOR Removed debug code

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102783 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 944d013 commit b54937e5dd9465f858d6326979132b9dffb843f7 @chillu chillu committed Apr 14, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 core/control/Director.php
@@ -728,7 +728,6 @@ static function add_callback($function, $mode = 'site') {
*/
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;

0 comments on commit b54937e

Please sign in to comment.