Skip to content

Commit

Permalink
Removed unnecessary.parameter population
Browse files Browse the repository at this point in the history
  • Loading branch information
Henning Normann committed Oct 4, 2024
1 parent 0347406 commit 1264296
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Storage/Repository/PgA2Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ public async Task CreateImage(string name, byte[] image)
List<(string Xsl, bool IsPortraitl)> xsls = [];

await using NpgsqlCommand pgcom = _dataSource.CreateCommand(_readXslSql);
pgcom.Parameters.AddWithValue("_org", NpgsqlDbType.Text, org);
pgcom.Parameters.AddWithValue("_app", NpgsqlDbType.Text, app);
pgcom.Parameters.AddWithValue("_lformid", NpgsqlDbType.Integer, lformId);
pgcom.Parameters.AddWithValue("_language", NpgsqlDbType.Text, language);
pgcom.Parameters.AddWithValue("_xsltype", NpgsqlDbType.Integer, xslType);

// Loop until language match
foreach (string languageToTry in GetOrderedLanguages(language))
Expand Down

0 comments on commit 1264296

Please sign in to comment.