if(upgrade == null) {
log.error("No upgrader for publisher: " + publisher.getType());
return null;
}
log.audit("upgrading..."+upgrade.getClass().getName());
return upgrade.ugrade(publisher);
}
private void migrateMessages(UpgradeManager upgradeManager, UpgradeHistoryData uhd) {
if (!uhd.getBooleanDataValue(TASK_MIGRATE_FORUMS_MESSAGES)) {
log.audit("+-----------------------------------------------------------------------------+");