mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[task/code-sniffer] Replace spaces with tabs.
PHPBB3-11980
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user