mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:10:10 +00:00
Added parameters
This commit is contained in:
parent
abe6724629
commit
bd62d548db
84 changed files with 172 additions and 177 deletions
|
@ -47,7 +47,7 @@ class Tos extends BaseModule
|
|||
* dealings with their own node so a TOS is not necessary.
|
||||
*
|
||||
**/
|
||||
public static function init()
|
||||
public static function init($parameters)
|
||||
{
|
||||
if (strlen(Config::get('system','singleuser'))) {
|
||||
self::getApp()->internalRedirect('profile/' . Config::get('system','singleuser'));
|
||||
|
@ -66,7 +66,7 @@ class Tos extends BaseModule
|
|||
* @return string
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function content() {
|
||||
public static function content($parameters) {
|
||||
$tpl = Renderer::getMarkupTemplate('tos.tpl');
|
||||
if (Config::get('system', 'tosdisplay')) {
|
||||
return Renderer::replaceMacros($tpl, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue