forked from Cavemanon/cavepaintings
wibble towards being totally SimpleExtension based, as that's easier to programatically optimise
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
*/
|
||||
|
||||
class BrowserSearch implements Extension {
|
||||
|
||||
public function get_priority() {return 50;}
|
||||
public function receive_event(Event $event) {
|
||||
global $page;
|
||||
global $config;
|
||||
@@ -112,5 +114,4 @@ class BrowserSearch implements Extension {
|
||||
}
|
||||
}
|
||||
}
|
||||
add_event_listener(new BrowserSearch());
|
||||
?>
|
||||
|
Reference in New Issue
Block a user