Check if cache_needs_updating is set (fixes 'Notice: Undefined variable: cache_needs_updating')
Merge pull request #11 from raamdev/000000-dev

Check if `$cache_needs_updating` is set