diff --git a/includes/Helpers/ManageWikiSettings.php b/includes/Helpers/ManageWikiSettings.php index aee6ec46e..942dd1177 100644 --- a/includes/Helpers/ManageWikiSettings.php +++ b/includes/Helpers/ManageWikiSettings.php @@ -139,6 +139,10 @@ public function overwriteAll( array $settings, bool $remove = true ) { } } + public function hasChanges(): bool { + return (bool)$this->changes; + } + /** * Commits all changes to the database */