db/update/Walk: add Directory reference parameter

Remove dependency on the DatabaseSimple library.
This commit is contained in:
Max Kellermann
2014-02-04 08:57:40 +01:00
parent 33a2c01ea2
commit f25ef8d682
3 changed files with 14 additions and 14 deletions

View File

@@ -44,7 +44,8 @@ UpdateService::Task()
SetThreadIdlePriority();
modified = walk.Walk(next.path_utf8.c_str(), next.discard);
modified = walk.Walk(*db_get_root(), next.path_utf8.c_str(),
next.discard);
if (modified || !db_exists()) {
Error error;