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) {
4949 if ($ restore and isset ($ data ->emaillogs ['log ' ])) {
5050 global $ DB ;
5151
52- $ current = context_course::instance ($ this ->get_courseid ());
52+ $ current_context = context_course::instance ($ this ->get_courseid ());
5353
5454 $ params = array (
5555 'backupid ' => $ this ->get_restoreid (),
5656 'itemname ' => 'context ' ,
57- 'newitemid ' => $ context ->id
57+ 'newitemid ' => $ current_context ->id
5858 );
5959
6060 $ id = $ DB ->get_record ('backup_ids_temp ' , $ params )->itemid ;
6161
6262 foreach ($ data ->emaillogs ['log ' ] as $ log ) {
63- $ this ->process_log ($ log , $ id , $ context );
63+ $ this ->process_log ($ log , $ id , $ current_context );
6464 }
6565 }
6666
Original file line number Diff line number Diff line change 2121 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2222 */
2323
24- $ plugin ->version = 2017110700 ;
24+ $ plugin ->version = 2017122000 ;
2525$ plugin ->requires = 2013051400 ;
26- $ plugin ->release = "v1.7.4 " ;
26+ $ plugin ->release = "v1.7.5 " ;
2727$ plugin ->maturity = MATURITY_STABLE ;
2828$ plugin ->component = 'block_quickmail ' ;
You can’t perform that action at this time.
0 commit comments