public function updateHistory(array $values = array()) { if ($this->getUrl(true) != $this->getPreviousUrl()) { return $this->_history->update($values); } }
public function updateHistory() { if ($this->getUrl(true) != $this->getPreviousUrl()) { return $this->_history->update(array('url' => $this->getUrl(true), 'ipAddress' => $this->getIpAddress(), 'userAgent' => $this->getUserAgent())); } }