MDL-58288 fileconverter_unoconv: Fix issue with test generation
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 17 Mar 2017 01:27:37 +0000 (09:27 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 17 Mar 2017 01:27:37 +0000 (09:27 +0800)
files/converter/unoconv/classes/converter.php

index 0aaf5bb..7ce7c05 100644 (file)
@@ -205,7 +205,7 @@ class converter implements \core_files\converter_interface {
         $conversion->create();
 
         // Convert the doc file to the target format and send it direct to the browser.
-        $conversion = $this->start_document_conversion($conversion);
+        $this->start_document_conversion($conversion);
         do {
             sleep(1);
             $this->poll_conversion_status($conversion);