mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix deleting scheduled import/exports
This commit is contained in:
parent
9ae32b68a0
commit
68a970f5d6
@ -30,11 +30,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function index($content = array()) {
|
public function index($content = array()) {
|
||||||
|
foreach($content['scheduled'] as $row)
|
||||||
if($content['scheduled']['delete']) {
|
{
|
||||||
$key = key($content['scheduled']['delete']);
|
if($row['delete']) {
|
||||||
|
$key = key($row['delete']);
|
||||||
ExecMethod('phpgwapi.asyncservice.cancel_timer', $key);
|
ExecMethod('phpgwapi.asyncservice.cancel_timer', $key);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$async_list = ExecMethod('phpgwapi.asyncservice.read', 'importexport%');
|
$async_list = ExecMethod('phpgwapi.asyncservice.read', 'importexport%');
|
||||||
$data = array();
|
$data = array();
|
||||||
if(is_array($async_list)) {
|
if(is_array($async_list)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user