Release
This commit is contained in:
@@ -23,12 +23,14 @@ class CostUnitRepository {
|
||||
|
||||
|
||||
|
||||
public function getCurrentEvents() : array {
|
||||
public function getCurrentEvents(bool $disableAccessCheck = false) : array {
|
||||
return $this->getCostUnitsByCriteria([
|
||||
'allow_new' => true,
|
||||
'type' => CostUnitType::COST_UNIT_TYPE_EVENT,
|
||||
'archived' => false
|
||||
]);
|
||||
],
|
||||
true,
|
||||
$disableAccessCheck);
|
||||
}
|
||||
|
||||
public function getRunningJobs() : array {
|
||||
|
||||
Reference in New Issue
Block a user