rabser / moodle-auth_googleoauth2

Oauth2 authentication plugin for Moodle (for Moodle 3.2 and earlier)
GNU General Public License v3.0
78 stars 78 forks source link

The UI only displays the link to settings when config.html exists #244

Closed FMCorz closed 6 years ago

FMCorz commented 6 years ago

This plugin extends the print_form while it does not have a config.html file. From 3.3, the print_form method is deprecated and Moodle core checks for the presence of the file config.html to determine whether the plugin has settings. Adding this blank file allows for the link to be displayed.

I know support for 3.3 is dropped, but this tiny change is small enough and will permit a smoother transition for users of this plugin.

mouneyrac commented 6 years ago

I merged it Fred.