efox12 / moodle--block_leaderboard

0 stars 3 forks source link

settings.php should be wrapped by if ($ADMIN->fulltree) { #9

Open danmarsden opened 4 years ago

danmarsden commented 4 years ago

take a look at blocks/activity_results/settings.php for an example

settings.php is called in a lot of places, wrapping in admin->fulltree just makes things a little more efficient.

calltri commented 4 years ago

I'll work on this

calltri commented 4 years ago

I created a pull request for this