diff options
author | Igor Wiedler <igor@wiedler.ch> | 2010-06-25 13:31:31 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2010-12-28 22:36:25 +0100 |
commit | eda9fbbb6363cad0f2035b7a1f9fafe27f23832b (patch) | |
tree | c023293935fd985b304c7047337fbbf236ea8644 /phpBB/includes/ucp/ucp_pm_viewfolder.php | |
parent | 1e59666ee32fb00c709644f1f66d3c0b662f32a0 (diff) | |
download | forums-eda9fbbb6363cad0f2035b7a1f9fafe27f23832b.tar forums-eda9fbbb6363cad0f2035b7a1f9fafe27f23832b.tar.gz forums-eda9fbbb6363cad0f2035b7a1f9fafe27f23832b.tar.bz2 forums-eda9fbbb6363cad0f2035b7a1f9fafe27f23832b.tar.xz forums-eda9fbbb6363cad0f2035b7a1f9fafe27f23832b.zip |
[ticket/9574] Remove conditional PHP<5.2 code
There is a large amount of conditional code for PHP < 5.2 that can be
removed with phpBB 3.1.
PHPBB3-9574
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_viewfolder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php index 81b2bcaf93..4efa09c3c8 100644 --- a/phpBB/includes/ucp/ucp_pm_viewfolder.php +++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php @@ -282,7 +282,7 @@ function view_folder($id, $mode, $folder_id, $folder) 'subject' => censor_text($row['message_subject']), 'sender' => $row['username'], // ISO 8601 date. For PHP4 we are able to hardcode the timezone because $user->format_date() does not set it. - 'date' => $user->format_date($row['message_time'], (PHP_VERSION >= 5) ? 'c' : "Y-m-d\TH:i:s+00:00", true), + 'date' => $user->format_date($row['message_time'], 'c', true), 'to' => ($folder_id == PRIVMSGS_OUTBOX || $folder_id == PRIVMSGS_SENTBOX) ? $address[$message_id] : '', 'message' => $message_row['message_text'] ); |