public function remove($passhash, $timestamp)
	{
		if ($this->user_id <= 0)
		{
			return false;
		}

		$db = \App::get('db');

		if (empty($db))
		{
			return false;
		}

		$db->setQuery(
			"DELETE FROM `#__users_password_history` WHERE user_id= " .
			$db->quote($this->user_id) . " AND passhash = " .
			$db->quote($passhash) . " AND invalidated = " .
			$db->quote($timestamp) . ";"
		);

		if (!$db->query())
		{
			return false;
		}

		return true;
	}
public function remove($passhash, $timestamp)
	{
		if ($this->user_id <= 0)
		{
			return false;
		}

		$db = \App::get('db');

		if (empty($db))
		{
			return false;
		}

		$db->setQuery(
			"DELETE FROM `#__users_password_history` WHERE user_id= " .
			$db->quote($this->user_id) . " AND passhash = " .
			$db->quote($passhash) . " AND invalidated = " .
			$db->quote($timestamp) . ";"
		);

		if (!$db->query())
		{
			return false;
		}

		return true;
	}
public function remove ( $ passhash , $ timestamp ) { if ( $ this -> user_id <= 0 ) { return false ; } $ db = \ App :: get ( 'db' ) ; if ( empty ( $ db ) ) { return false ; } $ db -> setQuery ( "DELETE FROM `#__users_password_history` WHERE user_id= " . $ db -> quote ( $ this -> user_id ) . " AND passhash = " . $ db -> quote ( $ passhash ) . " AND invalidated = " . $ db -> quote ( $ timestamp ) . ";" ) ; if ( ! $ db -> query ( ) ) { return false ; } return true ; }
Remove a passhash from a user's history

@param   string  $passhash
@param   string  $timestamp
@return  boolean
Remove a passhash from a user s history