Documentation

deleteByTaskId

\Bitrix\Main\Entity\DeleteResult public static
\Bitrix\Tasks\Task\FavoriteTable::deleteByTaskId(
 integer ,
 array 
);

This static method deletes task from Favorites for all users. This function does not check access permissions.

Parameters

ParameterDescriptionVersion
$taskIdTask ID.
$behaviourBehaviour flags:
  • LOW_LEVEL - when true, the function will ignore all events and execute database query.


© «Bitrix24», 2001-2024