diff Lib/IMPL/Web/Application/ResourceBase.pm @ 391:2287c72f303a

code cleanup
author cin
date Thu, 13 Feb 2014 20:17:22 +0400
parents e12c14177848
children 2c14f66efa08
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application/ResourceBase.pm	Wed Feb 12 18:02:03 2014 +0400
+++ b/Lib/IMPL/Web/Application/ResourceBase.pm	Thu Feb 13 20:17:22 2014 +0400
@@ -78,10 +78,6 @@
 # т.к. они просто освободятся несколько позже.
 	if ( not $request->context->{resource} ) {
 		$request->context->{resource} = $this;
-		$request->context->{environment} = sub {
-			carp "using request environment is deprecated";
-			$this->PrepareEnvironment()
-		};
 	}
 
 	return _InvokeDelegate( $operation, $this, $request );