diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 12:33:00 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 12:33:00 -0700 |
| commit | 2c711d8908137b6ff25941f06fe0a3f9ac02596d (patch) | |
| tree | f56d813f5ee99e8d401d39c52ec877f1a27998ef /modules/gallery/helpers/gallery_event.php | |
| parent | 53393a144609c0d8402b14606f52422bf3f28daf (diff) | |
refactor locale related functionality out of the user module and into the gallery module.
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_event.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 290d7d12..106aa202 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -19,6 +19,14 @@ */ class gallery_event_Core { + /** + * Initialization. + */ + static function gallery_ready() { + user::load_user(); + locales::set_request_locale(); + } + static function group_created($group) { access::add_group($group); } |
