1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/class-prefix] Rename user and session to phpbb_*

PHPBB-10609
This commit is contained in:
Igor Wiedler
2012-03-31 02:50:19 +02:00
parent 0ae491c5fa
commit 6deb7b3671
14 changed files with 867 additions and 860 deletions

View File

@@ -555,7 +555,7 @@ class custom_profile
{
global $user;
// Date should display as the same date for every user regardless of timezone, so remove offset
// to compensate for the offset added by user::format_date()
// to compensate for the offset added by phpbb_user::format_date()
return $user->format_date(gmmktime(0, 0, 0, $month, $day, $year) - ($user->timezone + $user->dst), $user->lang['DATE_FORMAT'], true);
}