plugins: do not reload a plugin if the change in its settings was to disable it
This is a minor change, I was testing a plugin and found that it never do "unload" properly unless introducing a check that it is still enabled.
Only a few days left to support Framasoft! Help our not-for-profit raise our 2025 budget and fund Framagit & all our projects on support.framasoft.org.
Plus que quelques jours pour soutenir Framasoft ! Aidez notre association à boucler son budget 2025 afin de financer Framagit et tous nos projets sur soutenir.framasoft.org.
This is a minor change, I was testing a plugin and found that it never do "unload" properly unless introducing a check that it is still enabled.