Skip to content

Commit

Permalink
refactor: use the new way to gather package version
Browse files Browse the repository at this point in the history
  • Loading branch information
warlof committed Jan 14, 2021
1 parent c83267d commit c505d7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"require": {
"ext-json": "*",
"warlof/seat-connector": "^2.0"
"warlof/seat-connector": "^2.1"
},
"extra": {
"laravel": {
Expand Down
1 change: 0 additions & 1 deletion src/Config/teamspeak.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
*/

return [
'version' => '5.0.0',
'fetcher' => \Warlof\Seat\Connector\Drivers\Teamspeak\Fetchers\GuzzleFetcher::class,
];
10 changes: 0 additions & 10 deletions src/TeamspeakConnectorServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,4 @@ public function getPackagistVendorName(): string
{
return 'warlof';
}

/**
* Return the plugin installed version.
*
* @return string
*/
public function getVersion(): string
{
return config('teamspeak.config.version');
}
}

0 comments on commit c505d7a

Please sign in to comment.