Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 72... Línea 72...
72
     *
72
     *
73
     * @return string|null The manage subscription hyperlink.
73
     * @return string|null The manage subscription hyperlink.
74
     */
74
     */
75
    protected function get_manage_subscriptions_link(): ?string {
75
    protected function get_manage_subscriptions_link(): ?string {
76
        if (calendar_user_can_add_event($this->calendar->course)) {
76
        if (calendar_user_can_add_event($this->calendar->course)) {
77
            $managesubscriptionurl = new moodle_url('/calendar/managesubscriptions.php');
77
            $managesubscriptionurl = new moodle_url('/calendar/managesubscriptions.php', ['course' => $this->calendar->courseid]);
78
            return $managesubscriptionurl->out(true);
78
            return $managesubscriptionurl->out(true);
79
        }
79
        }
80
        return null;
80
        return null;
81
    }
81
    }