Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- Clean plugin uninstall residual data
- Fix generate associated item massive action
- Prevent invalid references and non-existent classes during generate item flow.
- Remove unnecessary message during plugin installation
Expand Down
6 changes: 2 additions & 4 deletions inc/profile.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@ public static function install(Migration $migration)

public static function uninstall()
{
$item = new Profile();
$item->deleteByCriteria([
'name' => ['LIKE', 'PluginOrder%'],
]);
$rights = array_column(self::getAllRights(true), 'field');
ProfileRight::deleteProfileRights($rights);
self::removeRightsFromSession();
}

Expand Down