File tree Expand file tree Collapse file tree 4 files changed +7
-145
lines changed Expand file tree Collapse file tree 4 files changed +7
-145
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 124
124
$ string ['eventtemplatecreated ' ] = 'Custom certificate template created ' ;
125
125
$ string ['eventtemplatedeleted ' ] = 'Custom certificate template deleted ' ;
126
126
$ string ['eventtemplateupdated ' ] = 'Custom certificate template updated ' ;
127
- $ string ['eventcertificateupdated ' ] = 'Certificate updated ' ;
128
- $ string ['eventcertificatedeleted ' ] = 'Certificate deleted ' ;
129
127
$ string ['exampledatawarning ' ] = 'Some of these values may just be an example to ensure positioning of the elements is possible. ' ;
130
128
$ string ['font ' ] = 'Font ' ;
131
129
$ string ['font_help ' ] = 'The font used when generating this element. ' ;
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ function customcert_delete_instance($id) {
89
89
90
90
$ context = context_module::instance ($ cm ->id );
91
91
92
+ <<<<<<< HEAD
92
93
<<<<<<< HEAD
93
94
// Trigger issue_deleted events for each issue.
94
95
$ issues = $ DB ->get_records ('customcert_issues ' , ['customcertid ' => $ id ]);
@@ -100,6 +101,12 @@ function customcert_delete_instance($id) {
100
101
foreach ($ issues as $ issue ) {
101
102
$ event = \mod_customcert \event \certificate_deleted::create([
102
103
>>>>>>> e9c072e (Add events for adding and deleting certificates (#675))
104
+ =======
105
+ // Trigger issue_deleted events for each issue.
106
+ $ issues = $ DB ->get_records ('customcert_issues ' , ['customcertid ' => $ id ]);
107
+ foreach ($ issues as $ issue ) {
108
+ $ event = \mod_customcert \event \issue_deleted::create([
109
+ >>>>>>> 7 a91b46 (Rename certificate issue events (#675))
103
110
'objectid ' => $ issue ->id ,
104
111
'context ' => $ context ,
105
112
'relateduserid ' => $ issue ->userid ,
You can’t perform that action at this time.
0 commit comments