db/update/Service: add SimpleDatabase reference
Don't use the global variables from the DatabaseSimple library.
This commit is contained in:
@@ -59,6 +59,10 @@ public:
|
||||
|
||||
bool Save(Error &error);
|
||||
|
||||
bool FileExists() const {
|
||||
return mtime > 0;
|
||||
}
|
||||
|
||||
static Database *Create(EventLoop &loop, DatabaseListener &listener,
|
||||
const config_param ¶m,
|
||||
Error &error);
|
||||
|
||||
Reference in New Issue
Block a user