-
-
diff --git a/src/core/login/pages/site-error/site-error.module.ts b/src/core/login/pages/site-error/site-error.module.ts
deleted file mode 100644
index 73332b1e1..000000000
--- a/src/core/login/pages/site-error/site-error.module.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-// (C) Copyright 2015 Moodle Pty Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-import { NgModule } from '@angular/core';
-import { IonicPageModule } from 'ionic-angular';
-import { CoreLoginSiteErrorPage } from './site-error';
-import { TranslateModule } from '@ngx-translate/core';
-import { CoreDirectivesModule } from '@directives/directives.module';
-
-@NgModule({
- declarations: [
- CoreLoginSiteErrorPage
- ],
- imports: [
- CoreDirectivesModule,
- IonicPageModule.forChild(CoreLoginSiteErrorPage),
- TranslateModule.forChild()
- ]
-})
-export class CoreLoginSiteErrorPageModule {}
diff --git a/src/core/login/pages/site-error/site-error.scss b/src/core/login/pages/site-error/site-error.scss
deleted file mode 100644
index 510539e27..000000000
--- a/src/core/login/pages/site-error/site-error.scss
+++ /dev/null
@@ -1,3 +0,0 @@
- page-core-login-site-error button.button.button-block {
- margin-bottom: 3rem;
- }
\ No newline at end of file
diff --git a/src/core/login/pages/site-error/site-error.ts b/src/core/login/pages/site-error/site-error.ts
deleted file mode 100644
index 5d4df0e53..000000000
--- a/src/core/login/pages/site-error/site-error.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-// (C) Copyright 2015 Moodle Pty Ltd.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-import { Component } from '@angular/core';
-import { IonicPage, ViewController, NavParams } from 'ionic-angular';
-
-/**
- * Component that displays an error when trying to connect to a site.
- */
-@IonicPage({ segment: 'core-login-site-error' })
-@Component({
- selector: 'page-core-login-site-error',
- templateUrl: 'site-error.html',
-})
-export class CoreLoginSiteErrorPage {
- siteUrl: string;
- issue: string;
-
- constructor(private viewCtrl: ViewController, params: NavParams) {
- this.siteUrl = params.get('siteUrl');
- this.issue = params.get('issue');
- }
-
- /**
- * Close modal.
- */
- closeModal(): void {
- this.viewCtrl.dismiss();
- }
-}
diff --git a/src/core/login/pages/site/site.html b/src/core/login/pages/site/site.html
index 6d13b7507..9a4fe01bc 100644
--- a/src/core/login/pages/site/site.html
+++ b/src/core/login/pages/site/site.html
@@ -9,9 +9,9 @@
-
-