Skip to content

Commit 341fc48

Browse files
committed
Removed unused code
Some code had been previously commented out, and is no longer needed.
1 parent 36ca32d commit 341fc48

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

OnTopic.Data.Sql/SqlTopicRepository.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,6 @@ public override void Move(Topic topic, Topic target, Topic? sibling) {
478478
\-----------------------------------------------------------------------------------------------------------------------*/
479479
topic.Attributes.SetValue("ParentId", target.Id.ToString(CultureInfo.InvariantCulture), false);
480480

481-
//return true;
482-
483481
}
484482

485483
/*==========================================================================================================================
@@ -614,7 +612,6 @@ private static string PersistRelations(Topic topic, SqlConnection connection, bo
614612
command?.Dispose();
615613
targetIds.Dispose();
616614
//Since the SQL connection is being passed in, do not close connection; this allows command pooling.
617-
//if (connection != null) connection.Dispose();
618615
}
619616

620617
/*------------------------------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)