Set `lastUpdate` to zero when clearing packages

Since reloading packages is now avoided clearing packages should not itself
count as update as it would prevent loading packages again.
This commit is contained in:
Martchus 2022-01-26 00:46:36 +01:00
parent 66d3e7b301
commit 0e61a726e1
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void Database::resetConfiguration()
void Database::clearPackages()
{
lastUpdate = CppUtilities::DateTime::gmtNow();
lastUpdate = DateTime();
if (m_storage) {
m_storage->packageCache.clear(*m_storage);
}