This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,18 @@ protected function process_block($data) {
49
49
if ($ restore and isset ($ data ->emaillogs ['log ' ])) {
50
50
global $ DB ;
51
51
52
- $ current = context_course::instance ($ this ->get_courseid ());
52
+ $ current_context = context_course::instance ($ this ->get_courseid ());
53
53
54
54
$ params = array (
55
55
'backupid ' => $ this ->get_restoreid (),
56
56
'itemname ' => 'context ' ,
57
- 'newitemid ' => $ context ->id
57
+ 'newitemid ' => $ current_context ->id
58
58
);
59
59
60
60
$ id = $ DB ->get_record ('backup_ids_temp ' , $ params )->itemid ;
61
61
62
62
foreach ($ data ->emaillogs ['log ' ] as $ log ) {
63
- $ this ->process_log ($ log , $ id , $ context );
63
+ $ this ->process_log ($ log , $ id , $ current_context );
64
64
}
65
65
}
66
66
Original file line number Diff line number Diff line change 21
21
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22
22
*/
23
23
24
- $ plugin ->version = 2017110700 ;
24
+ $ plugin ->version = 2017122000 ;
25
25
$ plugin ->requires = 2013051400 ;
26
- $ plugin ->release = "v1.7.4 " ;
26
+ $ plugin ->release = "v1.7.5 " ;
27
27
$ plugin ->maturity = MATURITY_STABLE ;
28
28
$ plugin ->component = 'block_quickmail ' ;
You can’t perform that action at this time.
0 commit comments