Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 25... Línea 25...
25
 
25
 
Línea 26... Línea 26...
26
namespace mod_lesson\event;
26
namespace mod_lesson\event;
Línea 27... Línea -...
27
 
-
 
28
defined('MOODLE_INTERNAL') || die();
-
 
29
 
27
 
30
debugging('mod_lesson\event\highscores_viewed has been deprecated. Since the functionality no longer resides in the lesson module.',
28
defined('MOODLE_INTERNAL') || die();
31
        DEBUG_DEVELOPER);
29
 
32
/**
30
/**
33
 * The mod_lesson highscores viewed class.
31
 * The mod_lesson highscores viewed class.
Línea 41... Línea 39...
41
 
39
 
42
    /**
40
    /**
43
     * Set basic properties for the event.
41
     * Set basic properties for the event.
44
     */
42
     */
-
 
43
    protected function init() {
-
 
44
        // phpcs:ignore moodle.Files.LineLength.TooLong
-
 
45
        debugging('mod_lesson\event\highscores_viewed has been deprecated. Since the functionality no longer resides in the lesson module.',
-
 
46
            DEBUG_DEVELOPER);
45
    protected function init() {
47
 
46
        $this->data['objecttable'] = 'lesson';
48
        $this->data['objecttable'] = 'lesson';
47
        $this->data['crud'] = 'r';
49
        $this->data['crud'] = 'r';
48
        $this->data['edulevel'] = self::LEVEL_PARTICIPATING;
50
        $this->data['edulevel'] = self::LEVEL_PARTICIPATING;