Make sure we use the passed-in storage when there is one
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f95f1b20f1
commit
cd2b567c21
|
@ -149,6 +149,9 @@ class PermissionsMask extends Wrapper {
|
|||
}
|
||||
|
||||
public function getScanner($path = '', $storage = null) {
|
||||
return parent::getScanner($path, $this->storage);
|
||||
if (!$storage) {
|
||||
$storage = $this->storage;
|
||||
}
|
||||
return parent::getScanner($path, $storage);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue