Skip to content

Commit b3887e6

Browse files
authored
Merge pull request #1073 from sarjona/MDL-43938
[docs] Deprecation of the badges/newbadge.php page - MDL-43938
2 parents 9f74185 + 6a88e1c commit b3887e6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/devupdate.md

+20
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@ tags:
99

1010
This page highlights the important changes that are coming in Moodle 4.5 for developers.
1111

12+
## Badges
13+
14+
### Deprecated `badges/newbadge.php`
15+
16+
The `badges/newbadge.php` and `badges/edit.php` pages have been combined to make things easier to maintain since both were pretty similar (`newbadge.php` for creating badges and `edit.php` for editing them).
17+
18+
As a result, `badges/newbadge.php` is now deprecated and will be removed in Moodle 6.0. Please update your code to use badges/edit.php instead.
19+
20+
:::info
21+
22+
Visiting
23+
24+
https://yourmoodlesite/badges/newbadge.php?id=x
25+
26+
will now automatically redirect to
27+
28+
https://yourmoodlesite/badges/edit.php?courseid=x&mode=new
29+
30+
:::
31+
1232
## Core changes
1333

1434
### Autoloader

0 commit comments

Comments
 (0)