remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods

This commit is contained in:
Shish
2012-02-08 12:07:01 +00:00
parent 2b85e2d2fd
commit 0698b780f9
69 changed files with 79 additions and 116 deletions

View File

@@ -5,7 +5,7 @@
* License: GPLv2
* Description: Allows the admin to set min / max image dimentions
*/
class ResolutionLimit extends SimpleExtension {
class ResolutionLimit extends Extension {
public function get_priority() {return 40;} // early, to veto ImageUploadEvent
public function onImageAddition(ImageAdditionEvent $event) {