public static function UpdateNext($arCurrentRows) { if (CIntranetSharepoint::UpdateItems($arCurrentRows)) { CIntranetSharepointLog::Clear(array_keys($arCurrentRows)); } return true; }