# HG changeset patch # User Andre Heinecke # Date 1365427381 -7200 # Node ID cf4cc385e7c66b17378d524d86f85bc2b064cbe1 # Parent e4a59c795ff6d7218a9971e8cafe9bc1d41e90eb Do not call recommend twice. diff -r e4a59c795ff6 -r cf4cc385e7c6 flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java --- 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();