Make View->shouldEmitHooks more robust

remotes/origin/fix-10825
Robin Appelman 11 years ago committed by Morris Jobke
parent 8d0e162daf
commit 244d4e1399
  1. 3
      lib/private/files/view.php

@ -781,6 +781,9 @@ class View {
return false;
}
$defaultRoot = Filesystem::getRoot();
if ($defaultRoot === null) {
return false;
}
if ($this->fakeRoot === $defaultRoot) {
return true;
}

Loading…
Cancel
Save