Skip to content

Commit

Permalink
Changed isPackageActive to isPackageAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
calcalid committed Jul 10, 2018
1 parent 4533f60 commit d3c2c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/TechDivision/DocViewer/AccessManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AccessManager extends AbstractModuleController
* @return bool
*/
public function isPackageAccessable($packageKey) {
return $this->packageManager->isPackageActive($packageKey) &&
return $this->packageManager->isPackageAvailable($packageKey) &&
(!array_key_exists($packageKey, $this->packagesConfiguration['hide']) ||
!$this->packagesConfiguration['hide'][$packageKey]
);
Expand Down

0 comments on commit d3c2c4e

Please sign in to comment.