Skip to content

Commit bbba47e

Browse files
committed
fixed #343
1 parent 79b2e1b commit bbba47e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Issue/IssueService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -882,11 +882,11 @@ public function addWatcher($issueIdOrKey, $watcher)
882882
*/
883883
public function removeWatcher($issueIdOrKey, $watcher)
884884
{
885-
$this->log->addInfo("removeWatcher=\n");
885+
$this->log->debug("removeWatcher=\n");
886886

887887
$ret = $this->exec($this->uri."/$issueIdOrKey/watchers/?username=$watcher", '', 'DELETE');
888888

889-
$this->log->addInfo('remove watcher '.$issueIdOrKey.' result='.var_export($ret, true));
889+
$this->log->debug('remove watcher '.$issueIdOrKey.' result='.var_export($ret, true));
890890

891891
return $this->http_response == 204 ? true : false;
892892
}
@@ -903,11 +903,11 @@ public function removeWatcher($issueIdOrKey, $watcher)
903903
*/
904904
public function removeWatcherByAccountId($issueIdOrKey, $accountId)
905905
{
906-
$this->log->info("removeWatcher=\n");
906+
$this->log->debug("removeWatcher=\n");
907907

908908
$ret = $this->exec($this->uri."/$issueIdOrKey/watchers/?accountId=$accountId", '', 'DELETE');
909909

910-
$this->log->info('remove watcher '.$issueIdOrKey.' result='.var_export($ret, true));
910+
$this->log->debug('remove watcher '.$issueIdOrKey.' result='.var_export($ret, true));
911911

912912
return $this->http_response == 204 ? true : false;
913913
}

0 commit comments

Comments
 (0)