Changeset 4338


Ignore:
Timestamp:
11/22/09 10:19:41 (10 years ago)
Author:
LucMorizur
Message:

[Event Cats] Simplify language loading

(See http://code.piwigo.org/issues/show/1248 )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/main.inc.php

    r4336 r4338  
    8585 
    8686// Adds the translation of "duplicate" link 
    87 add_event_handler('loading_lang', 'ec_load_duplic_lang' ); 
    88  
    89 function ec_load_duplic_lang() { 
    90   load_language('duplic.lang', EVNTCATS_PATH); 
    91 } 
     87load_language('duplic.lang', EVNTCATS_PATH); 
    9288 
    9389// Admin help management 
Note: See TracChangeset for help on using the changeset viewer.