Пример #1
0
 function updateProjectPluginRestriction($plugin, $restricted)
 {
     $this->plugin_factory->restrictProjectPluginUse($plugin, $restricted);
     if ($restricted == false) {
         $this->plugin_factory->truncateProjectPlugin($plugin);
     }
 }