Skip to content
fix-oo.diff 620 B
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
# Waiting a new relaease of OO:https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/864
diff --git a/apps/onlyoffice/lib/appconfig.php b/apps/onlyoffice/lib/appconfig.php
index 06f9fbb..7f9c1cc 100644
--- a/apps/onlyoffice/lib/appconfig.php
+++ b/apps/onlyoffice/lib/appconfig.php
@@ -1290,7 +1290,7 @@ class AppConfig {
     public function GetEditorsCheckInterval() {
         $interval = $this->GetSystemValue($this->_editors_check_interval);
 
-        if (empty($interval) && $interval !== 0) {
+        if (empty($interval)) {
             $interval = 60*60*24;
         }
         return (integer)$interval;