wibble towards being totally SimpleExtension based, as that's easier to programatically optimise
This commit is contained in:
@ -22,6 +22,8 @@ class NumericScoreSetEvent extends Event {
|
||||
class NumericScore implements Extension {
|
||||
var $theme;
|
||||
|
||||
public function get_priority() {return 50;}
|
||||
|
||||
public function receive_event(Event $event) {
|
||||
global $config, $database, $page, $user;
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object($this);
|
||||
@ -271,5 +273,4 @@ class NumericScore implements Extension {
|
||||
array($image_id, $image_id));
|
||||
}
|
||||
}
|
||||
add_event_listener(new NumericScore());
|
||||
?>
|
||||
|
Reference in New Issue
Block a user