MOBILE-3402 login: Recover minimum version and deprecate

main
Pau Ferrer Ocaña 2020-05-18 12:47:23 +02:00
parent b30e578db6
commit b031919cca
1 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@
import { Component, ViewChild, ElementRef } from '@angular/core';
import { IonicPage, NavController, ModalController, AlertController, NavParams } from 'ionic-angular';
import { CoreSite } from '@classes/site';
import { CoreAppProvider } from '@providers/app';
import { CoreEventsProvider } from '@providers/events';
import { CoreSitesProvider, CoreSiteCheckResponse, CoreLoginSiteInfo } from '@providers/sites';
@ -293,8 +294,9 @@ export class CoreLoginSitePage {
}
];
// @TODO: Remove CoreSite.MINIMUM_MOODLE_VERSION, not used on translations since 3.8.3.
this.domUtils.showAlertWithOptions({
title: this.translate.instant('core.cannotconnect'),
title: this.translate.instant('core.cannotconnect', {$a: CoreSite.MINIMUM_MOODLE_VERSION}),
message,
buttons,
});