remove setDueDate function now upstream bug is fixed
This commit is contained in:
parent
42952f6d74
commit
b8a7da7a79
@ -30,15 +30,6 @@ class Issue extends GiteaRepoData{
|
|||||||
return $this->request($this->url.'/comments','GET');
|
return $this->request($this->url.'/comments','GET');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* this field is handled seperatly to the others! :/
|
|
||||||
* https://github.com/go-gitea/gitea/issues/8179
|
|
||||||
*/
|
|
||||||
public function setDueDate(\DateTime $date){
|
|
||||||
$args=['due_date'=>$date->format('c')];
|
|
||||||
return $this->request($this->url.'/deadline','POST',$args);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function hasLabel($label){
|
public function hasLabel($label){
|
||||||
$id=$label->id;
|
$id=$label->id;
|
||||||
foreach($this->labels as $label){
|
foreach($this->labels as $label){
|
||||||
|
Loading…
Reference in New Issue
Block a user