Skip to content

Commit

Permalink
configure privacy options
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Mar 2, 2025
1 parent 6e92f11 commit acae7df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions classes/playbook.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@ protected function playbook_implementation(): void {
$play->play();
}

// Configure privacy settings
$play = new config([
new config_model('contactdataprotectionofficer', true, plugin: 'tool_dataprivacy'),
new config_model('automaticdataexportapproval', true, plugin: 'tool_dataprivacy'),
new config_model('automaticdatadeletionapproval', true, plugin: 'tool_dataprivacy'),
]);
$play->play();

// Now disable maintenance mode again.
$play = new config([
new config_model('maintenance_enabled', 0),
Expand Down

0 comments on commit acae7df

Please sign in to comment.