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:
parent
66d3e7b301
commit
0e61a726e1
|
@ -111,7 +111,7 @@ void Database::resetConfiguration()
|
||||||
|
|
||||||
void Database::clearPackages()
|
void Database::clearPackages()
|
||||||
{
|
{
|
||||||
lastUpdate = CppUtilities::DateTime::gmtNow();
|
lastUpdate = DateTime();
|
||||||
if (m_storage) {
|
if (m_storage) {
|
||||||
m_storage->packageCache.clear(*m_storage);
|
m_storage->packageCache.clear(*m_storage);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue