|
|
(No se muestran 5 ediciones intermedias del mismo usuario) |
Línea 1: |
Línea 1: |
| This plugin adds a "recycle bin" for course modules to Moodle.
| | #Redirect[[Papelera de reciclaje]] |
|
| |
|
| It requires a core hack as there is no pre-cm-deleted event, you will need to add a line to '/course/lib.php' (function course_delete_module), right after the first "if()".
| | [[en:admin/setting/local recyclebin]] |
| | |
| You can edit the lib.php file easily with [https://notepad-plus-plus.org/ Notepad ++ for Windows].
| |
| | |
| [[Archivo:lib_php original file opened in notepad plus plus.png|600px]]
| |
| | |
| Look at the hacked lib.php file contents around line 1654:
| |
| | |
| [[Archivo:lib_php modified file opened in notepad plus plus.png|600px]]
| |