• Модуль: subscribe
  • Путь к файлу: ~/bitrix/modules/subscribe/classes/mysql/posting.php
  • Класс: CPosting
  • Вызов: CPosting::UnLock
static function UnLock($ID=0)
{
	global $DB;
	$ID = intval($ID);
	$uniq = COption::GetOptionString("main", "server_uniq_id", "");
	if($uniq <> '')
	{
		$db_lock = $DB->Query("SELECT RELEASE_LOCK('".$uniq."_post_".$ID."') as L", false, "File: ".__FILE__."
Line: ".__LINE__); $ar_lock = $db_lock->Fetch(); if($ar_lock["L"]=="0") return false; else return true; } }