File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1024,5 +1024,26 @@ function xmldb_zoom_upgrade($oldversion) {
10241024 upgrade_mod_savepoint (true , 2025050900 , 'zoom ' );
10251025 }
10261026
1027+ if ($ oldversion < 2025062600 ) {
1028+ // Define the SQL query to fix the inconsistent casing in the customlang stringid.
1029+ $ sql = "UPDATE {tool_customlang} tc
1030+ JOIN {tool_customlang_components} tcc ON tc.componentid = tcc.id
1031+ SET tc.stringid = :newstringid
1032+ WHERE tcc.name = :componentname
1033+ AND tc.stringid = :oldstringid " ;
1034+
1035+ $ params = [
1036+ 'newstringid ' => 'calendardescriptionurl ' ,
1037+ 'componentname ' => 'mod_zoom ' ,
1038+ 'oldstringid ' => 'calendardescriptionURL ' ,
1039+ ];
1040+
1041+ // Execute the query.
1042+ $ DB ->execute ($ sql , $ params );
1043+
1044+ // Savepoint reached.
1045+ upgrade_mod_savepoint (true , 2025062600 , 'zoom ' );
1046+ }
1047+
10271048 return true ;
10281049}
Original file line number Diff line number Diff line change 2525defined ('MOODLE_INTERNAL ' ) || die ();
2626
2727$ plugin ->component = 'mod_zoom ' ;
28- $ plugin ->version = 2025052000 ;
28+ $ plugin ->version = 2025062600 ;
2929$ plugin ->release = 'v5.4.0 ' ;
3030$ plugin ->requires = 2019052000 ;
3131$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments