fix clearing mounts when filesystem isn't initialized yet

remotes/origin/stable6
Robin Appelman 12 years ago
parent e1b5598f00
commit b5e817d638
  1. 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