Skip to content
Snippets Groups Projects
Commit 728fc7f1 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix parameter missing warning

parent b7758d0f
Branches
No related tags found
No related merge requests found
......@@ -570,7 +570,7 @@ class Preview {
*/
private static function initProviders() {
if(!\OC_Config::getValue('enable_previews', true)) {
$provider = new Preview\Unknown();
$provider = new Preview\Unknown(array());
self::$providers = array($provider->getMimeType() => $provider);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment