and make the extensions match

git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2008-08-23 12:08:19 +00:00
parent 1e4d7d1938
commit 434fab2dc5
55 changed files with 111 additions and 111 deletions

View File

@@ -38,10 +38,10 @@ Completely compatibility will probably involve a rewrite with a different URL
*/
class DanbooruApi extends Extension
class DanbooruApi implements Extension
{
// Receive the event
public function receive_event($event)
public function receive_event(Event $event)
{
// Check if someone is accessing /api/danbooru (us)
if(($event instanceof PageRequestEvent) && ($event->page_name == "api") && ($event->get_arg(0) == 'danbooru'))