File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,15 @@ function xmldb_moodleoverflow_upgrade($oldversion) {
292
292
upgrade_mod_savepoint (true , 2023040400 , 'moodleoverflow ' );
293
293
}
294
294
295
- if ($ oldversion < 2024061700 ) {
295
+ if ($ oldversion < 2024072600 ) {
296
+ require_once ($ CFG ->dirroot . '/mod/moodleoverflow/db/upgradelib.php ' );
297
+
298
+ mod_moodleoverflow_move_draftfiles_to_permanent_filearea ();
299
+
300
+ upgrade_mod_savepoint (true , 2024072600 , 'moodleoverflow ' );
301
+ }
302
+
303
+ if ($ oldversion < 2025031200 ) {
296
304
// Define table moodleoverflow to be edited.
297
305
$ table = new xmldb_table ('moodleoverflow ' );
298
306
@@ -309,13 +317,5 @@ function xmldb_moodleoverflow_upgrade($oldversion) {
309
317
upgrade_mod_savepoint (true , 2024061700 , 'moodleoverflow ' );
310
318
}
311
319
312
- if ($ oldversion < 2024072600 ) {
313
- require_once ($ CFG ->dirroot . '/mod/moodleoverflow/db/upgradelib.php ' );
314
-
315
- mod_moodleoverflow_move_draftfiles_to_permanent_filearea ();
316
-
317
- upgrade_mod_savepoint (true , 2024072600 , 'moodleoverflow ' );
318
- }
319
-
320
320
return true ;
321
321
}
Original file line number Diff line number Diff line change 28
28
defined ('MOODLE_INTERNAL ' ) || die ();
29
29
30
30
$ plugin ->component = 'mod_moodleoverflow ' ;
31
- $ plugin ->version = 2024082700 ;
31
+ $ plugin ->version = 2025031200 ;
32
32
$ plugin ->release = 'v4.4-r3 ' ;
33
33
$ plugin ->requires = 2022112800 ; // Requires 4.1+ Moodle version.
34
34
$ plugin ->maturity = MATURITY_STABLE ;
You can’t perform that action at this time.
0 commit comments