Skip to content

Commit

Permalink
Classes should be removed only when adaptive is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Miha Vrhovnik committed Jul 19, 2012
1 parent 382f8a5 commit 92fbb0b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -95,7 +95,7 @@ public static function load($classes, $cacheDir, $name, $autoReload, $adaptive =
$files = array();
$content = '';
foreach (self::getOrderedClasses($classes) as $class) {
if (in_array($class->getName(), $declared)) {
if ($adaptive && in_array($class->getName(), $declared)) {
continue;
}

Expand Down

0 comments on commit 92fbb0b

Please sign in to comment.