Force PicoDeprecated to be first plugin in the plugins array

This commit is contained in:
Daniel Rudolf 2017-05-14 01:11:16 +02:00
parent 624310bbe7
commit f4332a247c
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -667,6 +667,10 @@ class Pico
}
};
if (isset($this->plugins['PicoDeprecated'])) {
$visitPlugin($this->plugins['PicoDeprecated']);
}
foreach ($this->plugins as $plugin) {
$visitPlugin($plugin);
}