Skip to content

Commit d3c2c4e

Browse files
committed
Changed isPackageActive to isPackageAvailable
1 parent 4533f60 commit d3c2c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/TechDivision/DocViewer/AccessManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AccessManager extends AbstractModuleController
3131
* @return bool
3232
*/
3333
public function isPackageAccessable($packageKey) {
34-
return $this->packageManager->isPackageActive($packageKey) &&
34+
return $this->packageManager->isPackageAvailable($packageKey) &&
3535
(!array_key_exists($packageKey, $this->packagesConfiguration['hide']) ||
3636
!$this->packagesConfiguration['hide'][$packageKey]
3737
);

0 commit comments

Comments
 (0)