mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Clean unneeded refs to metricDB
.. starting to sunset the code now. Need to sort the sqlModel for the ridecache and then it can be retired completely.
This commit is contained in:
@@ -658,7 +658,7 @@ LTMWindow::filterChanged()
|
||||
// ignore in compare mode
|
||||
if (isCompare()) return;
|
||||
|
||||
if (amVisible() == false || context->athlete->metricDB == NULL) return;
|
||||
if (amVisible() == false) return;
|
||||
|
||||
if (useCustom) {
|
||||
|
||||
|
||||
@@ -1070,8 +1070,7 @@ RideMetadata::readXML(QString filename, QList<KeywordDefinition>&keywordDefiniti
|
||||
|
||||
// now auto append special fields, in case
|
||||
// the user wiped them or we have introduced
|
||||
// them in this release. This is to ensure
|
||||
// they get written to metricDB
|
||||
// them in this release.
|
||||
bool hasCalendarText = false;
|
||||
bool hasData = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user