mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed debug code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102783 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
944d013086
commit
b54937e5dd
@ -728,7 +728,6 @@ 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') {
|
||||||
SS_Backtrace::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;
|
||||||
|
Loading…
Reference in New Issue
Block a user