Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix more whitespace.

  • Loading branch information...
commit 0edbe0a123c72967747d325dd6b99fdec72fa59d 1 parent 14bfd83
@markstory markstory authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/Cake/View/Helper/TimeHelper.php
View
5 lib/Cake/View/Helper/TimeHelper.php
@@ -350,7 +350,6 @@ public function toRSS($dateString, $timezone = null) {
*/
public function timeAgoInWords($dateTime, $options = array()) {
$element = null;
-
$stringDate = '';
if (!empty($options['element'])) {
@@ -359,7 +358,7 @@ public function timeAgoInWords($dateTime, $options = array()) {
'class' => 'time-ago-in-words',
'title' => $dateTime
);
-
+
if (is_array($options['element'])) {
$element = array_merge($element, $options['element']);
} else {
@@ -394,7 +393,7 @@ public function timeAgoInWords($dateTime, $options = array()) {
public function wasWithinLast($timeInterval, $dateString, $timezone = null) {
return $this->_engine->wasWithinLast($timeInterval, $dateString, $timezone);
}
-
+
/**
* @see CakeTime::isWithinLast()
*
Please sign in to comment.
Something went wrong with that request. Please try again.