Configuration

- New 'recurrence' configuration setting can disable recurring task generation.
This commit is contained in:
Paul Beckingham 2015-01-25 15:41:31 -05:00
parent 8323407242
commit 4bdee56fa7
6 changed files with 15 additions and 0 deletions

View file

@ -54,6 +54,11 @@ extern Context context;
// child tasks need to be generated to fill gaps.
void handleRecurrence ()
{
// Recurrence can be disabled.
// Note: This is currently a workaround for TD-44, TW-1520.
if (! context.config.getBoolean ("recurrence"))
return;
std::vector <Task> tasks = context.tdb2.pending.get_tasks ();
Date now;