validate: Renamed validateInterval to vaildate, and integrated

This commit is contained in:
Paul Beckingham 2016-07-07 22:24:48 -04:00
parent 123655079c
commit f66127f473
17 changed files with 135 additions and 48 deletions

View file

@ -69,7 +69,7 @@ int CmdLengthen (
Duration dur (delta);
i.range.end += dur.toTime_t ();
validateInterval (database, rules, i);
validate (cli, rules, database, i);
database.modifyInterval (tracked[tracked.size () - id], i);
// Feedback.