Skip to content

Commit

Permalink
Mobile app: Remove ionic3 template
Browse files Browse the repository at this point in the history
  • Loading branch information
dpalou authored and jrchamp committed Jul 25, 2024
1 parent fa3a509 commit 61889e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 121 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
env:
DB: ${{ matrix.database }}
MOODLE_BRANCH: ${{ matrix.moodle-branch }}
MUSTACHE_IGNORE_NAMES: 'mobile_view_page_latest.mustache,mobile_view_page_ionic3.mustache'
MUSTACHE_IGNORE_NAMES: 'mobile_view_page_latest.mustache'
# Uncomment this to run Behat tests using the Moodle App.
# MOODLE_APP: 'true'

Expand Down
3 changes: 1 addition & 2 deletions classes/output/mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public static function mobile_course_view($args) {
global $OUTPUT, $DB;

$args = (object) $args;
$versionname = $args->appversioncode >= 3950 ? 'latest' : 'ionic3';
$cm = get_coursemodule_from_id('zoom', $args->cmid);

// Capabilities check.
Expand Down Expand Up @@ -84,7 +83,7 @@ public static function mobile_course_view($args) {
'templates' => [
[
'id' => 'main',
'html' => $OUTPUT->render_from_template("mod_zoom/mobile_view_page_$versionname", $data),
'html' => $OUTPUT->render_from_template('mod_zoom/mobile_view_page_latest', $data),
],
],
'javascript' => "this.loadMeeting = function(result) { window.open(result.joinurl, '_system'); };",
Expand Down
118 changes: 0 additions & 118 deletions templates/mobile_view_page_ionic3.mustache

This file was deleted.

0 comments on commit 61889e5

Please sign in to comment.