diff --git a/includes/Helpers/ManageWikiPermissions.php b/includes/Helpers/ManageWikiPermissions.php index ac02296b8..c8eea7c41 100644 --- a/includes/Helpers/ManageWikiPermissions.php +++ b/includes/Helpers/ManageWikiPermissions.php @@ -142,6 +142,10 @@ public function remove( string $group ) { $this->deleteGroups[] = $group; } + public function hasChanges(): bool { + return (bool)$this->changes; + } + /** * Commits all changes to database */