Prado\I18N\core\MessageSource_MySQL::updateCatalogueTime PHP Method

updateCatalogueTime() private method

Update the catalogue last modified time.
private updateCatalogueTime ( $cat_id, $variant ) : boolean
return boolean true if updated, false otherwise.
    private function updateCatalogueTime($cat_id, $variant)
    {
        $time = time();
        $result = mysql_query("UPDATE catalogue\n\t\t\t\t\t\t\tSET date_modified = {$time}\n\t\t\t\t\t\t\tWHERE cat_id = {$cat_id}", $this->db);
        if (!empty($this->cache)) {
            $this->cache->clean($variant, $this->culture);
        }
        return $result;
    }