do not initialize the configuration in constructor
commitf8dcd5b0e309717c3de78e412e2914b7b9505c33
authorAndreas Gohr <andi@splitbrain.org>
Fri, 1 Jun 2018 09:23:24 +0000 (1 11:23 +0200)
committerAndreas Gohr <andi@splitbrain.org>
Fri, 1 Jun 2018 09:23:24 +0000 (1 11:23 +0200)
tree3f279695f18aac4c28bf65a387628cbd98f55d83
parenta6e1db4a9c0b6bd991bac30cd7f60fe26f4f5b5a
do not initialize the configuration in constructor

The class gets instantiated for showing the admin menu. There's no need
to always load the whole configuration there. It's only needed when the
Config screen is actually shown. So loading it in handler() instead
should be good enough.
lib/plugins/config/admin.php