Skip to content

Commit 4329c48

Browse files
dpaloujrchamp
authored andcommitted
Mobile app: Remove ionic3 template
1 parent 07004d1 commit 4329c48

3 files changed

Lines changed: 2 additions & 121 deletions

File tree

classes/output/mobile.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public static function mobile_course_view($args) {
4242
global $OUTPUT, $DB;
4343

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

4847
// Capabilities check.
@@ -85,7 +84,7 @@ public static function mobile_course_view($args) {
8584
'templates' => [
8685
[
8786
'id' => 'main',
88-
'html' => $OUTPUT->render_from_template("mod_zoom/mobileapp/view_page_$versionname", $data),
87+
'html' => $OUTPUT->render_from_template('mod_zoom/mobileapp/view_page', $data),
8988
],
9089
],
9190
'javascript' => "this.loadMeeting = function(result) { window.open(result.joinurl, '_system'); };",

templates/mobileapp/view_page_latest.mustache renamed to templates/mobileapp/view_page.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1616
}}
1717
{{!
18-
@template mod_zoom/mobileapp/view_page_latest
18+
@template mod_zoom/mobileapp/view_page
1919
2020
Page to view a zoom meeting
2121

templates/mobileapp/view_page_ionic3.mustache

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)