changeset 5593:cf4cc385e7c6

Do not call recommend twice.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 08 Apr 2013 15:23:01 +0200
parents e4a59c795ff6
children 85fd42e308e7
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java	Mon Apr 08 14:54:32 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java	Mon Apr 08 15:23:01 2013 +0200
@@ -213,17 +213,6 @@
             public void execute(final Connection systemConnection)
             throws SQLException
             {
-                recommend(
-                    parameters, userId, result,
-                    systemConnection,
-                    (Connection)null);
-            }
-        });
-        systemSession.doWork(new Work() {
-            @Override
-            public void execute(final Connection systemConnection)
-            throws SQLException
-            {
                 SessionFactory sedDBFactory =
                     SessionFactoryProvider.getSedDBSessionFactory();
 

http://dive4elements.wald.intevation.org