mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 17:15:01 +01:00
Some work.
This commit is contained in:
parent
b44292311e
commit
cff9c84b5a
@ -305,7 +305,7 @@ QSqlDatabase DatabaseFactory::sqliteInitializeFileBasedDatabase(const QString &c
|
||||
qPrintable(installed_db_schema),
|
||||
APP_DB_SCHEMA_VERSION);
|
||||
}
|
||||
else {
|
||||
else if (installed_db_schema != APP_DB_SCHEMA_VERSION) {
|
||||
qDebug("Database schema was updated from '%s' to '%s' successully or it is already up to date.",
|
||||
qPrintable(installed_db_schema),
|
||||
APP_DB_SCHEMA_VERSION);
|
||||
@ -616,7 +616,7 @@ QSqlDatabase DatabaseFactory::mysqlInitializeDatabase(const QString &connection_
|
||||
qPrintable(installed_db_schema),
|
||||
APP_DB_SCHEMA_VERSION);
|
||||
}
|
||||
else {
|
||||
else if (installed_db_schema != APP_DB_SCHEMA_VERSION) {
|
||||
qDebug("Database schema was updated from '%s' to '%s' successully or it is already up to date.",
|
||||
qPrintable(installed_db_schema),
|
||||
APP_DB_SCHEMA_VERSION);
|
||||
|
@ -116,8 +116,6 @@ bool StandardServiceRoot::deleteViaGui() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// TODO: todo
|
||||
|
||||
// Remove all feeds.
|
||||
if (!QSqlQuery(connection).exec(QString("DELETE FROM Feeds WHERE account_id = %1;").arg(accountId()))) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user