This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 19b1b84 Improved: Clean commented code from ofbiz webapp (#312)
19b1b84 is described below
commit 19b1b8407ee9f43fe12cd7fc3b01861b87558d4e
Author: Eugen Stan <[email protected]>
AuthorDate: Fri Jul 9 08:31:00 2021 +0300
Improved: Clean commented code from ofbiz webapp (#312)
(OFBIZ-8042)
---
.../main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java | 3 ---
1 file changed, 3 deletions(-)
diff --git
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
index b4d07ba..aa1974f 100644
---
a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
+++
b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/ftl/FreeMarkerViewHandler.java
@@ -96,9 +96,6 @@ public class FreeMarkerViewHandler extends
AbstractViewHandler {
// add the application object (for transforms) to the context as a
BeanModel
root.put("application", servletContext);
- // add the servlet context -- this has been deprecated, and now
requires servlet, do we really need it?
- //root.put("applicationAttributes", new
ServletContextHashModel(servletContext,
FreeMarkerWorker.getDefaultOfbizWrapper()));
-
// add the session object (for transforms) to the context as a
BeanModel
root.put("session", session);