summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/office.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/office.php')
-rw-r--r--lib/private/preview/office.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/preview/office.php b/lib/private/preview/office.php
index 882c4426e6d..16e395cb1a8 100644
--- a/lib/private/preview/office.php
+++ b/lib/private/preview/office.php
@@ -22,13 +22,7 @@ if (extension_loaded('imagick')) {
//let's see if there is libreoffice or openoffice on this machine
if($isShellExecEnabled && ($isLibreOfficeAvailable || $isOpenOfficeAvailable || is_string(\OC_Config::getValue('preview_libreoffice_path', null)))) {
require_once('office-cl.php');
- }else{
- //in case there isn't, use our fallback
- require_once('office-fallback.php');
}
- } else {
- //in case there isn't, use our fallback
- require_once('office-fallback.php');
}
}
}