aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-30 13:37:29 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-30 13:37:29 +0100
commitef1f99183796f8e246f96bca54ca439bf8ea1750 (patch)
tree0b27c61c441bbe2bc85028a4d0de2d4da8196e9b /phpBB/phpbb/datetime.php
parent[task/code-sniffer] Remove the IN_PHPBB check side-effect from class files. (diff)
downloadphpbb-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar.gz
phpbb-ef1f99183796f8e246f96bca54ca439bf8ea1750.tar.bz2
phpbb-ef1f99183796f8e246f96bca54ca439bf8ea1750.zip
[task/code-sniffer] Replace spaces with tabs.
PHPBB3-11980
Diffstat (limited to 'phpBB/phpbb/datetime.php')
-rw-r--r--phpBB/phpbb/datetime.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/datetime.php b/phpBB/phpbb/datetime.php
index 84b13202af..dfa21976e0 100644
--- a/phpBB/phpbb/datetime.php
+++ b/phpBB/phpbb/datetime.php
@@ -74,8 +74,8 @@ class datetime extends \DateTime
* finally check that relative dates are supported by the language pack
*/
if ($delta <= 3600 && $delta > -60 &&
- ($delta >= -5 || (($now_ts / 60) % 60) == (($timestamp / 60) % 60))
- && isset($this->user->lang['datetime']['AGO']))
+ ($delta >= -5 || (($now_ts / 60) % 60) == (($timestamp / 60) % 60))
+ && isset($this->user->lang['datetime']['AGO']))
{
return $this->user->lang(array('datetime', 'AGO'), max(0, (int) floor($delta / 60)));
}