]> git.joonet.de Git - adminer.git/commit
Plugins: Simplify calling
authorJakub Vrana <jakub@vrana.cz>
Sun, 23 Mar 2025 18:49:44 +0000 (19:49 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 28 Mar 2025 11:47:09 +0000 (12:47 +0100)
commit54f3437a6a29462141a1511a056e208ba2dfe07a
treee8c064916849e77867fb69b9261a81594ecdaec9
parent96178b83ad8e05873fbb650e8103c0bd386f4c4e
Plugins: Simplify calling

The class Plugins don't extend Adminer anymore. Adminer is now treated like any other plugin.
Hooks are now registered in the constructor and they are called dynamically.
Apart from being much more pleasant to work with, it shaves 7 kB from the compiled file.
adminer/include/plugins.inc.php