mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-08 15:29:15 +00:00
bring back web dbupdate using new migrations system
This commit is contained in:
@@ -181,7 +181,7 @@ class RPC extends Handler_Protected {
|
||||
$client_scheme = parse_url($client_location, PHP_URL_SCHEME);
|
||||
$server_scheme = parse_url(Config::get_self_url(), PHP_URL_SCHEME);
|
||||
|
||||
if (Db_Updater::is_update_required()) {
|
||||
if (Config::is_migration_needed()) {
|
||||
$error = Errors::E_SCHEMA_MISMATCH;
|
||||
} else if ($client_scheme != $server_scheme) {
|
||||
$error = Errors::E_URL_SCHEME_MISMATCH;
|
||||
|
||||
Reference in New Issue
Block a user