Merge pull request #10548 from annando/args

Replaced argv/argc with replacement functions
This commit is contained in:
Hypolite Petovan 2021-07-26 18:43:47 -04:00 committed by GitHub
commit 3cef3ab107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 331 additions and 347 deletions

View file

@ -33,8 +33,8 @@ function frio_init(App $a)
$frio = 'view/theme/frio';
// disable the events module link in the profile tab
$a->theme_events_in_profile = false;
$a->videowidth = 622;
$a->setThemeInfoValue('events_in_profile', false);
$a->setThemeInfoValue('videowidth', 622);
Renderer::setActiveTemplateEngine('smarty3');

View file

@ -21,7 +21,7 @@ use Friendica\Util\Strings;
function vier_init(App $a)
{
$a->theme_events_in_profile = false;
$a->setThemeInfoValue('events_in_profile', false);
Renderer::setActiveTemplateEngine('smarty3');