Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statically determine if a cache adapter is enabled. #831

Closed
wants to merge 1 commit into from
Closed

Statically determine if a cache adapter is enabled. #831

wants to merge 1 commit into from

Commits on Feb 22, 2013

  1. Statically determine if a cache adapter is enabled.

    In `Adaptable::enabled()` it first asks for an instance of the adapter, which might be fine with other adaptables but for caching this does not work correctly since you could get a fatal error.
    
    ~~~
    Fatal error: Class 'Memcached' not found
    ~~~
    Blaine Schmeisser committed Feb 22, 2013
    Copy the full SHA
    575c0db View commit details
    Browse the repository at this point in the history