summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa2bbde)
raw | patch | inline | side by side (parent: aa2bbde)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 14:30:25 +0000 (14:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 27 Mar 2008 14:30:25 +0000 (14:30 +0000) |
-Allow remove of "processed" entries.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10030 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10030 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/class_gotomasses.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/class_gotomasses.inc b/gosa-plugins/goto/addons/goto/class_gotomasses.inc
index 286692c3223386b93a15616501ff79badef67e19..a8ffd8665b9aa9979f9e3c5b12c39f65bcabedcc 100644 (file)
foreach($ret as $task){
/* Only remove WAITING or ERROR entries */
- if(in_array($task['STATUS'],array("waiting","error")) ||
+ if(in_array($task['STATUS'],array("waiting","error","processed")) ||
($task['STATUS'] == "processing" && !preg_match("/install/",$task['HEADERTAG'])) ){
$this->ids_to_remove[] = $task['ID'];
if(isset($this->events['QUEUED'][$task['HEADERTAG']])){
/* If WAITING or ERROR add remove action
*/
- if( $this->acl_is_removeable() && in_array($task['STATUS'],array("waiting","error"))){
+ if( $this->acl_is_removeable() && in_array($task['STATUS'],array("waiting","error","processed"))){
$action.= "<input type='image' src='images/edittrash.png' name='remove_task_".$key."'
class='center' alt='"._("Remove")."'>";
}