SimplePie_Cache_MySQL::touch

Advertisement

Summery Summery

Set the last modified time to the current time

Syntax Syntax

SimplePie_Cache_MySQL::touch()

Return Return

(bool) Success status

Source Source

File: wp-includes/SimplePie/Cache/MySQL.php

		$query->bindValue(':id', $this->id);
		if ($query->execute() && ($time = $query->fetchColumn()))
		{
			return $time;
		}

		return false;
	}

	/**
	 * Set the last modified time to the current time
	 *
	 * @return bool Success status
	 */
	public function touch()
	{
		if ($this->mysql === null)
		{
			return false;

Advertisement

Advertisement

Leave a Reply