diff options
author | Andrew Dolgov <[email protected]> | 2011-03-28 12:17:40 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-03-28 12:17:40 +0400 |
commit | 1dc52ae7b38157dd1aa6591868246ef42b0c71bb (patch) | |
tree | 27e0d7383c4848bd37fb3cf2785b8511b8605cf5 /functions.php | |
parent | ef1805f8b7ed5c39f7998564d139f7a817dd2ab3 (diff) |
pref-prefs: blacklist HEADLINES_SMART_DATE
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index c31727ca3..dc162d7a9 100644 --- a/functions.php +++ b/functions.php @@ -2190,7 +2190,7 @@ $dt = new DateTime($timestamp, new DateTimeZone('UTC')); $user_timestamp = $dt->format('U') + $user_tz->getOffset($dt); - if (!$no_smart_dt && get_pref($link, 'HEADLINES_SMART_DATE', $owner_uid)) { + if (!$no_smart_dt) { return smart_date_time($link, $user_timestamp, $user_tz->getOffset($dt), $owner_uid); } else { |