Esempio n. 1
0
 public static function checkCanCreateDependence()
 {
     if (Bitrix24\Task::checkFeatureEnabled('gant')) {
         return true;
         // yes, you are using box, or you are in trial mode
     }
     // generally no, but you can make 5 dependences
     return DependenceTable::getLinkCount() < 5;
 }