dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41846
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21361: Minor
------------------------------------------------------------
revno: 21361
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-12-07 16:09:12 +0100
message:
Minor
modified:
dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/datamart/action/StartExportAction.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/datamart/action/StartExportAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/datamart/action/StartExportAction.java 2015-09-02 08:15:17 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/datamart/action/StartExportAction.java 2015-12-07 15:09:12 +0000
@@ -29,7 +29,6 @@
*/
import org.hisp.dhis.analytics.table.scheduling.AnalyticsTableTask;
-import org.hisp.dhis.scheduling.ScheduledTasks;
import org.hisp.dhis.scheduling.TaskCategory;
import org.hisp.dhis.scheduling.TaskId;
import org.hisp.dhis.system.notification.Notifier;
@@ -85,13 +84,9 @@
notifier.clear( taskId );
- ScheduledTasks tasks = new ScheduledTasks();
-
analyticsTableTask.setTaskId( taskId );
- tasks.addTask( analyticsTableTask );
-
- scheduler.executeTask( tasks );
+ scheduler.executeTask( analyticsTableTask );
return SUCCESS;
}