Skip to content

Commit

Permalink
Merge branch '4.0-dev' into untranslated-String
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Mar 14, 2019
2 parents e261db4 + 62d0714 commit 4b624f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions plugins/extension/finder/finder.php
Expand Up @@ -72,13 +72,12 @@ public function onExtensionAfterUpdate($installer, $eid)
*
* @since 4.0.0
*/
public function onExtensionBeforeUninstall($installer, $eid, $removed)
public function onExtensionAfterUninstall($installer, $eid, $removed)
{
$extension = $this->getLanguage($eid);

if ($extension)
// Check that the language was successfully uninstalled.
if ($eid && $removed && $installer->extension->type === 'language')
{
$this->removeCommonWords($extension);
$this->removeCommonWords($installer->extension);
}
}

Expand Down

0 comments on commit 4b624f8

Please sign in to comment.