Commit c99774bb authored by Łukasz Nowak's avatar Łukasz Nowak

XXX erp5_web_monitoring: Drop protection during removal

It might be not needed, as the sync will be reimplemented
parent fe9cef49
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
return gadget.getSetting('latest_sync_time'); return gadget.getSetting('latest_sync_time');
}) })
.push(function (finish_time) { .push(function (finish_time) {
if (finish_time - sync_start_time < 0) { /* if (finish_time - sync_start_time < 0) {
// sync is running, cannot remove OPML now // sync is running, cannot remove OPML now
success = false; success = false;
return RSVP.all([ return RSVP.all([
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
status: 'error' status: 'error'
}) })
]); ]);
} }*/
element.setAttribute("disabled", "disabled"); element.setAttribute("disabled", "disabled");
return gadget.jio_allDocs({ return gadget.jio_allDocs({
query: 'portal_type: "opml"', query: 'portal_type: "opml"',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment