aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-09-29 21:37:15 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-09-30 11:58:02 +0200
commit526329e6972914ac6d62c092da410e349d96d808 (patch)
treeb071731ce237280f4e80331ee1f21f64a2aadb19 /phpBB/phpbb/user.php
parentMerge pull request #2996 from Senky/ticket/13104 (diff)
downloadphpbb-526329e6972914ac6d62c092da410e349d96d808.tar.gz
phpbb-526329e6972914ac6d62c092da410e349d96d808.tar.bz2
phpbb-526329e6972914ac6d62c092da410e349d96d808.zip
[ticket/13118] Correctly use the provided datetime class
PHPBB3-13118
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r--phpBB/phpbb/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php
index ea98034434..882e9cef26 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -717,7 +717,7 @@ class user extends \phpbb\session
$utc = new \DateTimeZone('UTC');
}
- $time = new \phpbb\datetime($this, "@$gmepoch", $utc);
+ $time = new $this->datetime($this, "@$gmepoch", $utc);
$time->setTimezone($this->timezone);
return $time->format($format, $forcedate);