*/
class Friendica extends BaseModule
{
- public static function content()
+ public static function content(array $parameters = [])
{
$app = self::getApp();
$config = $app->getConfig();
'<strong>' . FRIENDICA_VERSION . '</strong>',
$app->getBaseURL(),
'<strong>' . DB_UPDATE_VERSION . '</strong>',
- '<strong>' . $config->get("system", "post_update_version") . '</strong>'),
+ '<strong>' . $config->get('system', 'post_update_version') . '</strong>'),
'friendica' => L10n::t('Please visit <a href="https://friendi.ca">Friendi.ca</a> to learn more about the Friendica project.'),
'bugs' => L10n::t('Bug reports and issues: please visit') . ' ' . '<a href="https://github.com/friendica/friendica/issues?state=open">' . L10n::t('the bugtracker at github') . '</a>',
'info' => L10n::t('Suggestions, praise, etc. - please email "info" at "friendi - dot - ca'),
]);
}
- public static function rawContent()
+ public static function rawContent(array $parameters = [])
{
$app = self::getApp();