This commit is contained in:
Pierre HUBERT 2019-12-26 13:25:54 +01:00
parent 3b2ad1d821
commit 5c3be90945

View File

@ -731,7 +731,7 @@ class GroupsComponent {
* @param int $groupID The ID of the target group
* @return bool TRUE if the directory is available / FALSE
*/
public function checkDirectoryAvailability(string $directory, int $groupID) : int {
public function checkDirectoryAvailability(string $directory, int $groupID) : bool {
$currID = $this->findByVirtualDirectory($directory);
//Check if the domain has not been allocated