-
Task
-
Resolution: Fixed
-
Minor
-
3.10, 4.0
-
MOODLE_310_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE
-
MDL-70073-master -
After MDL-70010 was integrated, both 310_STABLE and master were 100% on-sync.
But running another routine check... it seems that last week 2 more unexpected differences have been introduced (ignoring all the version and branch numbers that are ok to diverge).
So this command:
git diff MOODLE_310_STABLE master --stat | grep -v version.php | grep -v install/lang | grep -v 'files changed' | cut -d' ' -f2 | xargs git diff MOODLE_310_STABLE master
|
Is returning these 2 unexpected differences:
--- a/badges/backpack-add.php
|
+++ b/badges/backpack-add.php
|
@@ -98,7 +98,7 @@ if (!empty($issuedbadge->recipient->id)) {
|
$assertionid
|
);
|
|
- if (!$assertionentityid && strpos($sitebackpack->backpackapiurl, 'badgr')) {
|
+ if ($assertionentityid && strpos($sitebackpack->backpackapiurl, 'badgr')) {
|
$assertionentityid = badges_generate_badgr_open_url(
|
$sitebackpack,
|
OPEN_BADGES_V2_TYPE_ASSERTION,
|
|
|
diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
|
index 3976d5ffb56..2edf3111bdb 100644
|
--- a/lib/db/upgrade.php
|
+++ b/lib/db/upgrade.php
|
@@ -2911,14 +2911,13 @@ function xmldb_main_upgrade($oldversion) {
|
}
|
|
$dbman->drop_field($table, $field);
|
- }
|
|
- // Main savepoint reached.
|
- upgrade_main_savepoint(true, 2020102300.02);
|
+ // Main savepoint reached.
|
+ upgrade_main_savepoint(true, 2021052500.33);
|
+ }
|
}
|
Worth looking to them, they seem to come from MDL-65959 and MDL-69166, so linking and commenting in both issues.