From 5cbbfd8379401821e63e9a895f5f15c2e430d637 Mon Sep 17 00:00:00 2001 From: Nicolas Brassard Date: Thu, 4 Sep 2014 21:39:13 -0400 Subject: [PATCH] Revert: restore about function This method was deleted by mistake (my fault) in f077a2e96cc430c07aee9eda4d9a956205c6d587 Implementation was took from 3eb850e23b9b87821ed9c78798adff44a6406443 Fixes #7. --- events/event.flang_redirect.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/events/event.flang_redirect.php b/events/event.flang_redirect.php index e89dcfa..2a96ed1 100644 --- a/events/event.flang_redirect.php +++ b/events/event.flang_redirect.php @@ -12,7 +12,22 @@ Class eventflang_redirect extends Event { - const ROOTELEMENT = 'flang-redirect'; + const ROOTELEMENT = 'flang-redirect'; + + public static function about(){ + return array( + 'name' => __('Frontend Localisation Redirect'), + 'author' => array( + array( + 'name' => 'Deux Huit Huit', + 'website' => 'http://www.deuxhuithuit.com', + 'email' => 'open-source (at) deuxhuithuit (dot) com' + ), + ), + 'version' => '1.1', + 'release-date' => '2012-11-13', + 'trigger-condition' => ''); + } public function load(){ return $this->__trigger();