Skip to content
Permalink
Browse files

Skip autoloaders for APCIterator

We can skip autoloaders for this class as it is provided by
a C extension and will never come from userland code.
  • Loading branch information...
markstory committed Jun 23, 2014
1 parent ffe8119 commit 59c3b73f7aefc55a6676473e83e371de60c38b53
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Cache/Engine/ApcEngine.php
@@ -125,7 +125,7 @@ public function clear($check) {
if ($check) {
return true;
}
if (class_exists('APCIterator')) {
if (class_exists('APCIterator', false)) {
$iterator = new APCIterator(
'user',
'/^' . preg_quote($this->settings['prefix'], '/') . '/',

0 comments on commit 59c3b73

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.