Browse Source

fix clearing mounts when filesystem isn't initialized yet

remotes/origin/stable6
Robin Appelman 13 years ago
parent
commit
b5e817d638
  1. 4
      lib/files/filesystem.php

4
lib/files/filesystem.php

@ -359,7 +359,9 @@ class Filesystem {
* clear all mounts and storage backends
*/
public static function clearMounts() {
self::$mounts->clear();
if (self::$mounts) {
self::$mounts->clear();
}
}
/**

Loading…
Cancel
Save