// Check basepath only once, when
// we load the dirty contexts...
- if (isset($DIRTYCONTEXTS->{$basepath})) {
+ if (isset($DIRTYCONTEXTS[$basepath])) {
// sitewide change, dirty
$clean = false;
}
}
// is _this_ context dirty?
- if (isset($dirty->{$path})) {
+ if (isset($dirty[$path])) {
return false;
}
while (preg_match('!^(/.+)/\d+$!', $path, $matches)) {
// assume caller did it already
return true;
}
- if (isset($dirty->{$path})) {
+ if (isset($dirty[$path])) {
return false;
}
}