Skip to content

Commit

Permalink
Revert: restore about function
Browse files Browse the repository at this point in the history
This method was deleted by mistake (my fault) in
f077a2e

Implementation was took from 3eb850e

Fixes #7.
  • Loading branch information
nitriques committed Sep 5, 2014
1 parent baf0ac1 commit 5cbbfd8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion events/event.flang_redirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5cbbfd8

Please sign in to comment.