MDL-63729 badges: Return new fields in badge table in WS

This commit is contained in:
dpalou
2018-11-09 12:11:04 +01:00
parent c776e1dd40
commit 18d27ac2eb
3 changed files with 61 additions and 2 deletions
+6
View File
@@ -137,6 +137,12 @@ class core_badges_external extends external_api {
'uniquehash' => $badge->uniquehash,
'dateissued' => $badge->dateissued,
'dateexpire' => $badge->dateexpire,
'version' => $badge->version,
'language' => $badge->language,
'imageauthorname' => $badge->imageauthorname,
'imageauthoremail' => $badge->imageauthoremail,
'imageauthorurl' => $badge->imageauthorurl,
'imagecaption' => $badge->imagecaption,
);
}