diff --git a/src/node.cc b/src/node.cc index 9d9229ec19c..3931e202345 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2166,18 +2166,6 @@ Handle SetupProcessObject(int argc, char *argv[]) { Local env = envTemplate->NewInstance(); process->Set(String::NewSymbol("env"), env); - // create process.ENV - // TODO: remove me at some point. - Local ENVTemplate = ObjectTemplate::New(); - ENVTemplate->SetNamedPropertyHandler(EnvGetterWarn, - EnvSetter, - EnvQuery, - EnvDeleter, - EnvEnumerator, - Undefined()); - Local ENV = ENVTemplate->NewInstance(); - process->Set(String::NewSymbol("ENV"), ENV); - process->Set(String::NewSymbol("pid"), Integer::New(getpid())); process->Set(String::NewSymbol("features"), GetFeatures());