Adding ability to check for queue group existence

This commit is contained in:
2014-08-11 12:24:05 -05:00
parent 12f6edf269
commit 89cb1ae4b1
2 changed files with 35 additions and 0 deletions

View File

@@ -355,6 +355,15 @@ HTML;
return false;
}
/**
* @param string $groupName
* @return bool
*/
public function queueExists($groupName)
{
return (bool)is_dir($this->getQueueBaseDir().$groupName);
}
/**
* @return boolean
*/