Commit eadda1d9 authored by Andreas Hartmetz's avatar Andreas Hartmetz
Browse files

Fix typos of "orphan"

parent 141e56e1
...@@ -132,7 +132,7 @@ void StorageJanitor::check() // implementation of `akonadictl fsck` ...@@ -132,7 +132,7 @@ void StorageJanitor::check() // implementation of `akonadictl fsck`
migrateToLevelledCacheHierarchy(); migrateToLevelledCacheHierarchy();
inform("Checking search index consistency..."); inform("Checking search index consistency...");
findOprhanSearchIndexEntries(); findOrphanSearchIndexEntries();
inform("Flushing collection statistics memory cache..."); inform("Flushing collection statistics memory cache...");
CollectionStatistics::self()->expireCache(); CollectionStatistics::self()->expireCache();
...@@ -711,7 +711,7 @@ void StorageJanitor::migrateToLevelledCacheHierarchy() ...@@ -711,7 +711,7 @@ void StorageJanitor::migrateToLevelledCacheHierarchy()
} }
} }
void StorageJanitor::findOprhanSearchIndexEntries() void StorageJanitor::findOrphanSearchIndexEntries()
{ {
QueryBuilder qb(Collection::tableName(), QueryBuilder::Select); QueryBuilder qb(Collection::tableName(), QueryBuilder::Select);
qb.addSortColumn(Collection::idColumn(), Query::Ascending); qb.addSortColumn(Collection::idColumn(), Query::Ascending);
...@@ -776,7 +776,7 @@ void StorageJanitor::findOprhanSearchIndexEntries() ...@@ -776,7 +776,7 @@ void StorageJanitor::findOprhanSearchIndexEntries()
} }
if (!searchResults.isEmpty()) { if (!searchResults.isEmpty()) {
inform(QStringLiteral("Collection %1 search index contains %2 oprhan items. Scheduling reindexing").arg(colId).arg(searchResults.count())); inform(QStringLiteral("Collection %1 search index contains %2 orphan items. Scheduling reindexing").arg(colId).arg(searchResults.count()));
iface.call(QDBus::NoBlock, QStringLiteral("reindexCollection"), colId); iface.call(QDBus::NoBlock, QStringLiteral("reindexCollection"), colId);
} }
} }
......
...@@ -135,7 +135,7 @@ private: ...@@ -135,7 +135,7 @@ private:
* Check if the search index contains any entries that refer to Akonadi * Check if the search index contains any entries that refer to Akonadi
* Items that no longer exist in the DB. * Items that no longer exist in the DB.
*/ */
void findOprhanSearchIndexEntries(); void findOrphanSearchIndexEntries();
private: private:
qint64 m_lostFoundCollectionId; qint64 m_lostFoundCollectionId;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment