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\highscore_added 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 highscore added event class.
31
 * The mod_lesson highscore added event class.
Línea 49... Línea 47...
49
 
47
 
50
    /**
48
    /**
51
     * Set basic properties for the event.
49
     * Set basic properties for the event.
52
     */
50
     */
-
 
51
    protected function init() {
-
 
52
        // phpcs:ignore moodle.Files.LineLength.TooLong
-
 
53
        debugging('mod_lesson\event\highscore_added has been deprecated. Since the functionality no longer resides in the lesson module.',
-
 
54
            DEBUG_DEVELOPER);
53
    protected function init() {
55
 
54
        $this->data['objecttable'] = 'lesson_high_scores';
56
        $this->data['objecttable'] = 'lesson_high_scores';
55
        $this->data['crud'] = 'c';
57
        $this->data['crud'] = 'c';
56
        $this->data['edulevel'] = self::LEVEL_PARTICIPATING;
58
        $this->data['edulevel'] = self::LEVEL_PARTICIPATING;