MDL-63729 badges: Return new fields in badge table in WS
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user