diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-22 21:10:36 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-03-22 21:10:36 +0100 |
commit | 9a9a4c41c02072bd7fad18f75702ec7bb7407ac6 (patch) | |
tree | e2780f70cff0ae21b43e7ffa5b58647f67043d05 /gitlab/objects.py | |
parent | 349f66e2959ae57c3399f44edf09da8a775067ce (diff) | |
download | gitlab-9a9a4c41c02072bd7fad18f75702ec7bb7407ac6.tar.gz |
Add deletion support for issues and MR
This is supported in gitlabhq master branch for admin users (soft
deletion).
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 896cefd..8b9e275 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -944,7 +944,6 @@ class ProjectIssue(GitlabObject): _url = '/projects/%(project_id)s/issues/' _constructorTypes = {'author': 'User', 'assignee': 'User', 'milestone': 'ProjectMilestone'} - canDelete = False requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['title'] # FIXME: state_event is only valid with update @@ -1072,7 +1071,6 @@ class ProjectMergeRequest(GitlabObject): _url = '/projects/%(project_id)s/merge_request' _urlPlural = '/projects/%(project_id)s/merge_requests' _constructorTypes = {'author': 'User', 'assignee': 'User'} - canDelete = False requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['source_branch', 'target_branch', 'title'] optionalCreateAttrs = ['assignee_id'] |