Skip to content
fix-oo.diff 1.2 KiB
Newer Older
# Waiting a new relaease of OO:https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/864
Hugo Renard's avatar
Hugo Renard committed
--- apps/onlyoffice/appinfo/info.xml
+++ apps/onlyoffice/appinfo/info.xml
@@ -39,7 +39,4 @@
     <commands>
         <command>OCA\Onlyoffice\Command\DocumentServer</command>
     </commands>
-    <background-jobs>
-        <job>OCA\Onlyoffice\Cron\EditorsCheck</job>
-    </background-jobs>
 </info>
Hugo Renard's avatar
Hugo Renard committed
# Waiting a new relaease of OO:https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/864
--- apps/onlyoffice/lib/AppInfo/Application.php
+++ apps/onlyoffice/lib/AppInfo/Application.php
@@ -267,14 +267,6 @@ class Application extends App implements IBootstrap {
         $detector->registerType("docxf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf");
         $detector->registerType("oform", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform");
 
-        $checkBackgroundJobs = new JobListController(
-            $container->query("AppName"),
-            $container->query("Request"),
-            $this->appConfig,
-            $container->query(IJobList::class)
-        );
-        $checkBackgroundJobs->checkAllJobs();
-
         Hooks::connectHooks();
     }