aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-09-30 21:00:05 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-09-30 21:00:05 +0200
commita0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38 (patch)
tree3b5a071100e9dd34ca0a2ef99cc8f44321e3fb7e /phpBB/phpbb
parentf1ab6f31a1f54466cf317a21f0f76fca77bff2fa (diff)
parent526329e6972914ac6d62c092da410e349d96d808 (diff)
downloadforums-a0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38.tar
forums-a0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38.tar.gz
forums-a0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38.tar.bz2
forums-a0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38.tar.xz
forums-a0db23bd0e6e6bfa8bf5c2afc49ecd8a290b0d38.zip
Merge pull request #3007 from nickvergessen/ticket/13118
[ticket/13118] Correctly use the provided datetime class * nickvergessen/ticket/13118: [ticket/13118] Correctly use the provided datetime class
Diffstat (limited to 'phpBB/phpbb')
-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);