]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Tos.php
Added parameters
[friendica.git] / src / Module / Tos.php
index c26085b48bb2e9fdbbe5adaef26f0f6e9cdcce31..c69557d5dcebc7a8f4c419fa48b941adb8e5fd55 100644 (file)
@@ -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, [