aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/user.php
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
parent71ac6ab2b87ec1d606d5669b930ac4c7164e9b11 (diff)
downloadforums-526329e6972914ac6d62c092da410e349d96d808.tar
forums-526329e6972914ac6d62c092da410e349d96d808.tar.gz
forums-526329e6972914ac6d62c092da410e349d96d808.tar.bz2
forums-526329e6972914ac6d62c092da410e349d96d808.tar.xz
forums-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);