From b8a7da7a7975d8ecb7861df8836b52f53049ca91 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 26 Dec 2019 13:02:31 +0000 Subject: [PATCH] remove setDueDate function now upstream bug is fixed --- src/Issue.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Issue.php b/src/Issue.php index 9bb6f9e..25078d3 100644 --- a/src/Issue.php +++ b/src/Issue.php @@ -30,15 +30,6 @@ class Issue extends GiteaRepoData{ 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){ $id=$label->id; foreach($this->labels as $label){