diff --git a/moodle.config.json b/moodle.config.json index e4cddbd91..b61f913ea 100644 --- a/moodle.config.json +++ b/moodle.config.json @@ -86,7 +86,6 @@ }, "customurlscheme": "moodlemobile", "sites": [], - "stagingsites": [], "multisitesdisplay": "", "sitefindersettings": {}, "onlyallowlistedsites": false, diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index a8aaf216a..816c2eb81 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -2105,6 +2105,16 @@ export type CoreLoginSiteInfo = { * Countrycode of the site. */ countrycode?: string; + + /** + * Is staging site. + */ + staging?: boolean; + + /** + * Class to apply to site item. + */ + className?: string; }; /** diff --git a/src/types/config.d.ts b/src/types/config.d.ts index a54c42d47..331ab4712 100644 --- a/src/types/config.d.ts +++ b/src/types/config.d.ts @@ -43,7 +43,6 @@ export interface EnvironmentConfig { defaultZoomLevel?: CoreZoomLevel; // Set the default zoom level of the app. customurlscheme: string; sites: CoreLoginSiteInfo[]; - stagingsites: CoreLoginSiteInfo[]; multisitesdisplay: CoreLoginSiteSelectorListMethod; sitefindersettings: Partial; onlyallowlistedsites: boolean;