summaryrefslogtreecommitdiff
path: root/modules/user/helpers/user_event.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-02-10 06:12:16 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-02-10 06:12:16 +0000
commitb2f20ff76649cab714c761e8a43f66e1976cf3d4 (patch)
tree5974be43528c46f8074e9390399fc92648eeb3fb /modules/user/helpers/user_event.php
parentfc162362de2f155933baf3231a857faa9f6d46cc (diff)
style fixes (style for method names, style for vars in locale.php)
Diffstat (limited to 'modules/user/helpers/user_event.php')
-rw-r--r--modules/user/helpers/user_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/helpers/user_event.php b/modules/user/helpers/user_event.php
index 4af1d22f..e33924f1 100644
--- a/modules/user/helpers/user_event.php
+++ b/modules/user/helpers/user_event.php
@@ -27,7 +27,7 @@ class user_event_Core {
$locale = user::active()->locale;
if (!empty($locale)) {
// TODO(andy_st): Check session data as well.
- I18n::instance()->setLocale($locale);
+ I18n::instance()->locale($locale);
}
}
}