Minor - Avoid warning by removing useless third argument to chmod()

1.9.x
Yannick Warnier 9 years ago
parent c3afd2e981
commit c1163c3967
  1. 2
      main/webservices/additional_webservices.php

@ -59,7 +59,7 @@ function wsConvertPpt($pptData)
$cmd .= ' -w 720 -h 540 -d oogie "' . $tempPath . $fullFileName.'" "' . $tempPathNewFiles . $fileName . '.html"'; $cmd .= ' -w 720 -h 540 -d oogie "' . $tempPath . $fullFileName.'" "' . $tempPathNewFiles . $fileName . '.html"';
$perms = api_get_permissions_for_new_files(); $perms = api_get_permissions_for_new_files();
chmod($tempPathNewFiles . $fileName, $perms, true); chmod($tempPathNewFiles . $fileName, $perms);
$files = array(); $files = array();
$return = 0; $return = 0;

Loading…
Cancel
Save