self::getApp()->internalRedirect('profile/' . Config::get('system','singleuser'));
}
}
+
/**
* @brief generate the content of the /tos page
*
* This privacy statement has fixed text, so it can be translated easily.
*
* @return string
- **/
+ * @throws \Friendica\Network\HTTPException\InternalServerErrorException
+ */
public static function content() {
- $tpl = get_markup_template('tos.tpl');
+ $tpl = Renderer::getMarkupTemplate('tos.tpl');
if (Config::get('system', 'tosdisplay')) {
return Renderer::replaceMacros($tpl, [
'$title' => L10n::t('Terms of Service'),