Commit 7be68f22 authored by David Faure's avatar David Faure
Browse files

Don't get hit forever by an old setting from baloorc when hand-editing the agent rc file.

Summary: i.e. the migration should only happen once.

Test Plan: removing akonadi_indexing_agentrc now triggers a full reindexing as expected.

Reviewers: dvratil, vkrause

Reviewed By: vkrause

Subscribers: #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D5349
parent a3762962
......@@ -83,6 +83,7 @@ Scheduler::Scheduler(Index &index, const KSharedConfigPtr &config,
KConfigGroup baloorcGroup = baloorc.group("Akonadi");
initialIndexingDone = baloorcGroup.readEntry("initialIndexingDone", false);
cfg.writeEntry("initialIndexingDone", initialIndexingDone);
baloorcGroup.deleteEntry("initialIndexingDone"); // make sure that editing akonadi_indexing_agentrc by hand works in the future
}
//Trigger a full sync initially
if (!initialIndexingDone) {
......
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