summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/office.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-04-28 12:05:10 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-04-28 12:05:10 +0200
commitb68098ebbaaa3bd816d24c1ed304425e838ee6b8 (patch)
treed121169049b146a7362ef15a2beae31394089388 /lib/private/preview/office.php
parent727e3e2359602be975b4a6168a8f8d99ce838e3d (diff)
downloadnextcloud-server-b68098ebbaaa3bd816d24c1ed304425e838ee6b8.tar.gz
nextcloud-server-b68098ebbaaa3bd816d24c1ed304425e838ee6b8.zip
remove preview office fallback as it makes too much trouble and generates inacceptable results
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');
}
}
}