2018-08-13 Fred Gleason <fredg@paravelsystems.com>

* Removed support for the 'Backup Database' ['DB'] RML.
	* Removed support for automatic DB backup.
	* Dropped the 'STATIONS.BACKUP_DIR' and 'STATIONS.BACKUP_LIFE'
	fields drom the database.
	* Incremented the database version to 296.
This commit is contained in:
Fred Gleason
2018-08-13 17:12:20 -04:00
parent 16661cfb6d
commit 77f35e52f5
25 changed files with 107 additions and 473 deletions

View File

@@ -205,30 +205,6 @@ void RDStation::setTimeOffset(int msecs)
}
QString RDStation::backupPath() const
{
return RDGetSqlValue("STATIONS","NAME",station_name,"BACKUP_DIR").toString();
}
void RDStation::setBackupPath(QString path) const
{
SetRow("BACKUP_DIR",path);
}
int RDStation::backupLife() const
{
return RDGetSqlValue("STATIONS","NAME",station_name,"BACKUP_LIFE").toInt();
}
void RDStation::setBackupLife(int days) const
{
SetRow("BACKUP_LIFE",days);
}
unsigned RDStation::heartbeatCart() const
{
return RDGetSqlValue("STATIONS","NAME",station_name,"HEARTBEAT_CART").