Index: trunk/extensions/CodeReview/api/ApiRevisionUpdate.php |
— | — | @@ -49,7 +49,8 @@ |
50 | 50 | $params['status'], |
51 | 51 | $params['addtags'], |
52 | 52 | $params['removetags'], |
53 | | - $params['flags'], |
| 53 | + $params['addflags'], |
| 54 | + $params['removeflags'], |
54 | 55 | $params['comment'] |
55 | 56 | ); |
56 | 57 | |
— | — | @@ -93,10 +94,15 @@ |
94 | 95 | ApiBase::PARAM_TYPE => 'string', |
95 | 96 | ApiBase::PARAM_ISMULTI => true, |
96 | 97 | ), |
97 | | - 'flags' => array( |
| 98 | + 'addflags' => array( |
98 | 99 | ApiBase::PARAM_TYPE => 'string', |
99 | 100 | ApiBase::PARAM_ISMULTI => true, |
100 | 101 | ApiBase::PARAM_TYPE => CodeRevision::getPossibleFlags() |
| 102 | + ), |
| 103 | + 'removeflags' => array( |
| 104 | + ApiBase::PARAM_TYPE => 'string', |
| 105 | + ApiBase::PARAM_ISMULTI => true, |
| 106 | + ApiBase::PARAM_TYPE => CodeRevision::getPossibleFlags() |
101 | 107 | ) |
102 | 108 | ); |
103 | 109 | } |
— | — | @@ -109,7 +115,8 @@ |
110 | 116 | 'status' => 'Status to set the revision to', |
111 | 117 | 'addtags' => 'Tags to be added to the revision', |
112 | 118 | 'removetags' => 'Tags to be removed from the revision', |
113 | | - 'flags' => 'Code Signoff flags to assign to the revision by the current user', |
| 119 | + 'addflags' => 'Code Signoff flags to assign to the revision by the current user', |
| 120 | + 'removeflags' => 'Code Signoff flags to strike from the revision by the current user', |
114 | 121 | ); |
115 | 122 | } |
116 | 123 | |