• Модуль: forum
  • Путь к файлу: ~/bitrix/modules/forum/lib/forum.php
  • Класс: BitrixForumForum
  • Вызов: Forum::updateSilently
static function updateSilently($id, $fields)
{
	$connection = MainApplication::getConnection();
	$helper = $connection->getSqlHelper();
	$update = $helper->prepareUpdate(self::getTableName(), $fields);
	$where = $helper->prepareAssignment(self::getTableName(), 'ID', $id);
	$sql = 'UPDATE '.$helper->quote(self::getTableName()).' SET '.$update[0].' WHERE '.$where;
	return $connection->query($sql, $update[1]);
}