Skip to content

Commit

Permalink
MINOR Removed debug code
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102783 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Apr 14, 2010
1 parent 944d013 commit b54937e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/control/Director.php
Expand Up @@ -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;
Expand Down

0 comments on commit b54937e

Please sign in to comment.