Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

JComponentHelper::isEnabled() should not throw a warning of the component doesn't exist. #179

Closed
johanjanssens opened this issue Jul 3, 2015 · 0 comments
Labels
Milestone

Comments

@johanjanssens
Copy link
Member

If a component doesn't exist, calling JComponentHelper::isEnabled('com_foo') will throw an warning in the user interface.

JComponentHelper::isEnabled() should return true or false without any additional warnings being set. The caller can additional show a warning if needed but this shouldn't happen by default.

The JComponentHelper::isEnabled() is intended to be used to see if a component is enabled, and also if a component is installed/exists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant