I'm working on an automated Nextcloud setup and would like to enable telemetry by default. It would be useful to have a management command or an app setting available for this purpose.
For now, I'm figuring out if it's possible to run this piece of PHP during setup:
|
$this->jobList->add(MonthlyReport::class); |
|
$this->appConfig->deleteAppValue('never_again'); |
|
|
|
$notification = $this->manager->createNotification(); |
|
$notification->setApp('survey_client'); |
|
$this->manager->markProcessed($notification); |
I'm working on an automated Nextcloud setup and would like to enable telemetry by default. It would be useful to have a management command or an app setting available for this purpose.
For now, I'm figuring out if it's possible to run this piece of PHP during setup:
survey_client/lib/Controller/EndpointController.php
Lines 38 to 43 in a0ffdbd