fixed bug on VRE users
This commit is contained in:
parent
695bf798f9
commit
8c7bf2c22b
|
@ -176,7 +176,7 @@ public class AccountingDashboardHarvesterPlugin extends Plugin {
|
|||
boolean getVREUsers = true;
|
||||
if (inputs.containsKey(GET_VRE_USERS_INPUT_PARAMETER)) {
|
||||
try {
|
||||
reRun = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER);
|
||||
getVREUsers = (boolean) inputs.get(GET_VRE_USERS_INPUT_PARAMETER);
|
||||
} catch (Exception e) {
|
||||
throw new IllegalArgumentException("'" + GET_VRE_USERS_INPUT_PARAMETER + "' must be a boolean");
|
||||
}
|
||||
|
@ -482,7 +482,6 @@ public class AccountingDashboardHarvesterPlugin extends Plugin {
|
|||
accountingRecords);
|
||||
if (!dryRun) {
|
||||
dao.insertRecords(accountingRecords.toArray(new AccountingRecord[1]));
|
||||
// dbaseManager.insertMonthlyData(start, end, data, reRun);
|
||||
} else {
|
||||
logger.debug("Harvested measures are {}", accountingRecords);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue