mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-27 09:21:21 +01:00
Delete a few unused lines of code.
This commit is contained in:
parent
72fa80956a
commit
8422122816
@ -109,10 +109,6 @@ private extension SearchTable {
|
||||
|
||||
func insert(_ article: ArticleSearchInfo, _ database: FMDatabase) -> Int {
|
||||
let rowDictionary: DatabaseDictionary = [DatabaseKey.body: article.bodyForIndex, DatabaseKey.title: article.title ?? ""]
|
||||
// rowDictionary[DatabaseKey.title] = article.title ?? ""
|
||||
// rowDictionary[DatabaseKey.body] = article.bodyForIndex
|
||||
// rowDictionary.setObject(article.title ?? "", forKey: DatabaseKey.title as NSString)
|
||||
// rowDictionary.setObject(article.bodyForIndex, forKey: DatabaseKey.body as NSString)
|
||||
insertRow(rowDictionary, insertType: .normal, in: database)
|
||||
return Int(database.lastInsertRowId())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user