aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2010-07-07 22:25:52 +0100
committerOleg Pudeyev <oleg@bsdpower.com>2012-03-14 22:57:30 -0400
commitf085735ef812a57790699a6d789cbab22f882328 (patch)
treeb658c85f4ccc170877721701fcaf6e8a95b84808 /phpBB
parentdba89a534120d48d0ba901aedd69f962536bf36d (diff)
downloadforums-f085735ef812a57790699a6d789cbab22f882328.tar
forums-f085735ef812a57790699a6d789cbab22f882328.tar.gz
forums-f085735ef812a57790699a6d789cbab22f882328.tar.bz2
forums-f085735ef812a57790699a6d789cbab22f882328.tar.xz
forums-f085735ef812a57790699a6d789cbab22f882328.zip
[feature/new-tz-handling] Explained name of phpbb_datetime::getTimestamp()
phpbb_datetime::getTimestamp() exists purely to support PHP 5.2 which does not implement the method. PHPBB3-9558
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/datetime.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/datetime.php b/phpBB/includes/datetime.php
index 8763697c78..12d04d5ca6 100644
--- a/phpBB/includes/datetime.php
+++ b/phpBB/includes/datetime.php
@@ -48,6 +48,7 @@ class phpbb_datetime extends DateTime
/**
* Returns a UNIX timestamp representation of the date time.
*
+ * @internal This method is for backwards compatibility with 5.2, hence why it doesn't use our method naming standards.
* @return int UNIX timestamp
*/
public function getTimestamp()