mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
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:
@@ -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").
|
||||
|
||||
Reference in New Issue
Block a user