Skip to content

Commit ea7af84

Browse files
authored
Merge pull request #2820 from rodan123/Galnet_Monitor_Redundancy
Remove redundant code
2 parents f71208a + ce962e0 commit ea7af84

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

GalnetMonitor/GalnetMonitor.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,9 @@ private async Task FetchGalnetAsync ()
213213
Logging.Debug( "Updated latest UID to " + firstUid );
214214
configuration.lastuuid = firstUid;
215215
ConfigService.Instance.galnetConfiguration = configuration;
216-
}
217-
218-
if ( newsItems.Count > 0 )
219-
{
220216
EDDI.Instance.enqueueEvent( new GalnetNewsPublishedEvent( DateTime.UtcNow, newsItems ) );
221217
}
222-
218+
223219
}
224220
catch ( Exception ex )
225221
{

0 commit comments

Comments
 (0)