Browse Source

Allow disabling previews per mount

remotes/origin/fix-10825
Robin Appelman 11 years ago
parent
commit
2eab0f2121
  1. 5
      lib/private/preview.php

5
lib/private/preview.php

@ -922,6 +922,11 @@ class Preview {
return false;
}
$mount = $file->getMountPoint();
if ($mount and !$mount->getOption('previews', true)){
return false;
}
//check if there are preview backends
if (empty(self::$providers)) {
self::initProviders();

Loading…
Cancel
Save