Skip to content

Commit 7f2249e

Browse files
committed
Remove manifold header as Releases api is official now
1 parent 6947590 commit 7f2249e

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

lib/Github/Api/Repository/Assets.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111
*/
1212
class Assets extends AbstractApi
1313
{
14-
/**
15-
* @deprecated Will be removed as soon as gh releases api gets stable
16-
*/
17-
public function configure()
18-
{
19-
$this->client->setHeaders(array(
20-
'Accept: application/vnd.github.manifold-preview'
21-
));
22-
}
23-
2414
/**
2515
* Get all release's assets in selected repository
2616
* GET /repos/:owner/:repo/releases/:id/assets

lib/Github/Api/Repository/Releases.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@
1212
*/
1313
class Releases extends AbstractApi
1414
{
15-
/**
16-
* @deprecated Will be removed as soon as gh releases api gets stable
17-
*/
18-
public function configure()
19-
{
20-
$this->client->setHeaders(array(
21-
'Accept: application/vnd.github.manifold-preview'
22-
));
23-
}
24-
2515
/**
2616
* List releases in selected repository
2717
*

0 commit comments

Comments
 (0)