Skip to content

Commit

Permalink
Fix add-on removal
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyHackGUT committed Feb 5, 2022
1 parent 98b1654 commit dec37e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function installStep1()
public function uninstallStep1()
{
/** @var ConnectedAccountProvider $provider */
$provider = $this->app->em()->findOne('XF:ConnectedAccountProvider', $this->getProviderField('provider_id'));
$provider = $this->app->em()->find('XF:ConnectedAccountProvider', $this->getProviderField('provider_id'));
if (!$provider)
{
// Damn. Something already removed our record.
Expand Down
4 changes: 2 additions & 2 deletions addon.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"legacy_addon_id": "",
"title": "[HLModerators] Connected Account",
"description": "Implements the OAuth protocol via HLMod OAuth Provider",
"version_id": 1000070,
"version_string": "1.0.0",
"version_id": 1000170,
"version_string": "1.0.1",
"dev": "HLMod",
"dev_url": "https://hlmod.ru/?utm_source=xenforo_acp&utm_campaign=connected_account",
"faq_url": "",
Expand Down

0 comments on commit dec37e2

Please sign in to comment.