summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-29 16:13:16 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-29 16:13:16 +0200
commit728fc7f123eeedb79f01dd1f38d469857a8e15cf (patch)
tree7ae36fcbd9a43ffb8413e136790782d4dd1bdf94
parentb7758d0f8d52b2f9653cfee549558327c00c8e01 (diff)
downloadnextcloud-server-728fc7f123eeedb79f01dd1f38d469857a8e15cf.tar.gz
nextcloud-server-728fc7f123eeedb79f01dd1f38d469857a8e15cf.zip
fix parameter missing warning
-rwxr-xr-xlib/preview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/preview.php b/lib/preview.php
index 164ad10ba5f..b40ba191fba 100755
--- a/lib/preview.php
+++ b/lib/preview.php
@@ -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;
}