From 429b2e09926dd67076b16e769bf6d3ad13083fc0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 19 Oct 2022 07:50:28 -0400 Subject: [PATCH] Apply code standards in documentation --- doc/themes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/themes.md b/doc/themes.md index e578d7f743..60f4fdb96d 100644 --- a/doc/themes.md +++ b/doc/themes.md @@ -123,7 +123,7 @@ The selected 1st part will be saved in the database by the theme_post function. function theme_post(App $a){ // non local users shall not pass - if (! Session::getLocalUser()) { + if (!Session::getLocalUser()) { return; } // if the one specific submit button was pressed then proceed @@ -137,7 +137,7 @@ Now that this information is set in the database, what should friendica do with For this, have a look at the theme.php file of the *duepunto zero*. There you'll find somethink alike - $colorset = DI::pConfig()->get( Session::getLocalUser(), 'duepuntozero','colorset'); + $colorset = DI::pConfig()->get(Session::getLocalUser(), 'duepuntozero','colorset'); if (!$colorset) $colorset = DI::config()->get('duepuntozero', 'colorset'); if ($colorset) { -- 2.39.5