aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/preview
diff options
context:
space:
mode:
authorOlivier Paroz <oparoz@users.noreply.github.com>2014-11-18 15:04:01 +0100
committerOlivier Paroz <oparoz@users.noreply.github.com>2014-11-18 15:04:01 +0100
commitcb118ce3710676fa95b02d8f5057e3842d723f53 (patch)
treefb14daf78894ad61d5f8dacda54f92a62ec6e524 /lib/private/preview
parent309788003d7f109e2794e66d1314b75c93805715 (diff)
downloadnextcloud-server-cb118ce3710676fa95b02d8f5057e3842d723f53.tar.gz
nextcloud-server-cb118ce3710676fa95b02d8f5057e3842d723f53.zip
Replace deprecated switches
Warning: -convert-to is deprecated. Use --convert-to instead. Warning: -outdir is deprecated. Use --outdir instead.
Diffstat (limited to 'lib/private/preview')
-rw-r--r--lib/private/preview/office-cl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/office-cl.php b/lib/private/preview/office-cl.php
index 42d2cbf34fc..f5c791e37f2 100644
--- a/lib/private/preview/office-cl.php
+++ b/lib/private/preview/office-cl.php
@@ -29,7 +29,7 @@ if (!\OC_Util::runningOnWindows()) {
$tmpDir = get_temp_dir();
- $defaultParameters = ' -env:UserInstallation=file://' . escapeshellarg($tmpDir . '/owncloud-' . \OC_Util::getInstanceId().'/') . ' --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ';
+ $defaultParameters = ' -env:UserInstallation=file://' . escapeshellarg($tmpDir . '/owncloud-' . \OC_Util::getInstanceId().'/') . ' --headless --nologo --nofirststartwizard --invisible --norestore --convert-to pdf --outdir ';
$clParameters = \OCP\Config::getSystemValue('preview_office_cl_parameters', $defaultParameters);
$exec = $this->cmd . $clParameters . escapeshellarg($tmpDir) . ' ' . escapeshellarg($absPath);