@@ -45,7 +45,6 @@ import { CoreErrorInfoComponent } from '@components/error-info/error-info';
4545import { CoreUserSupportConfig } from '@features/user/classes/support/support-config' ;
4646import { CoreUserGuestSupportConfig } from '@features/user/classes/support/guest-support-config' ;
4747import { CoreLoginError } from '@classes/errors/loginerror' ;
48- import { CoreSite } from '@classes/site' ;
4948
5049/**
5150 * Site (url) chooser when adding a new site.
@@ -420,7 +419,7 @@ export class CoreLoginSitePage implements OnInit {
420419 text : Translate . instant ( 'core.contactsupport' ) ,
421420 handler : ( ) => CoreUserSupport . contact ( {
422421 supportConfig : alertSupportConfig ,
423- subject : Translate . instant ( 'core.cannotconnect' , { $a : CoreSite . MINIMUM_MOODLE_VERSION } ) ,
422+ subject : Translate . instant ( 'core.cannotconnect' ) ,
424423 message : `Error: ${ errorCode } \n\n${ errorDetails } ` ,
425424 } ) ,
426425 }
@@ -435,11 +434,10 @@ export class CoreLoginSitePage implements OnInit {
435434 ) ,
436435 ] . filter ( button => ! ! button ) ;
437436
438- // @todo Remove CoreSite.MINIMUM_MOODLE_VERSION, not used on translations since 3.9.0.
439437 const alertElement = await CoreDomUtils . showAlertWithOptions ( {
440438 header : errorTitle ?? (
441439 siteExists
442- ? Translate . instant ( 'core.cannotconnect' , { $a : CoreSite . MINIMUM_MOODLE_VERSION } )
440+ ? Translate . instant ( 'core.cannotconnect' )
443441 : Translate . instant ( 'core.sitenotfound' )
444442 ) ,
445443 message : errorMessage ?? Translate . instant ( 'core.sitenotfoundhelp' ) ,
0 commit comments