]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Tos.php
Merge pull request #7044 from MrPetovan/task/router
[friendica.git] / src / Module / Tos.php
index 170371ad46140ef6e5aa0143f49ba6a902e8c89c..6dca554b25a593c6bc44a885c380d4ab52483525 100644 (file)
@@ -53,6 +53,7 @@ class Tos extends BaseModule
                        self::getApp()->internalRedirect('profile/' . Config::get('system','singleuser'));
                }
        }
+
        /**
         * @brief generate the content of the /tos page
         *
@@ -63,7 +64,8 @@ class Tos extends BaseModule
         *     This privacy statement has fixed text, so it can be translated easily.
         *
         * @return string
-        **/
+        * @throws \Friendica\Network\HTTPException\InternalServerErrorException
+        */
        public static function content() {
                $tpl = Renderer::getMarkupTemplate('tos.tpl');
                if (Config::get('system', 'tosdisplay')) {