X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FTos.php;h=49d56ed6cf1df05372245f377e110417c265c4e3;hb=d7df0825db598012871d8555de04575d0c30247a;hp=1b71627535798734e6ed12fcecd6450406c815bc;hpb=3bae52074a644b0ade3808bed9fc1268e1baa4e3;p=friendica.git diff --git a/src/Module/Tos.php b/src/Module/Tos.php index 1b71627535..49d56ed6cf 100644 --- a/src/Module/Tos.php +++ b/src/Module/Tos.php @@ -1,6 +1,6 @@ config = $config; - $this->baseUrl = $baseUrl; $this->privacy_operate = $this->t('At the time of registration, and for providing communications between the user account and their contacts, the user has to provide a display name (pen name), an username (nickname) and a working email address. The names will be accessible on the profile page of the account by any visitor of the page, even if other profile details are not displayed. The email address will only be used to send the user notifications about interactions, but wont be visibly displayed. The listing of an account in the node\'s user directory or the global user directory is optional and can be controlled in the user settings, it is not necessary for communication.'); $this->privacy_distribute = $this->t('This data is required for communication and is passed on to the nodes of the communication partners and is stored there. Users can enter additional private data that may be transmitted to the communication partners accounts.'); @@ -76,7 +75,7 @@ class Tos extends BaseModule * @return string * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - public function content(): string + protected function content(array $request = []): string { if (strlen($this->config->get('system', 'singleuser'))) { $this->baseUrl->redirect('profile/' . $this->config->get('system', 'singleuser'));