]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/config.php
Merge branch 'friendica:develop' into doc_faq_client-clean-up
[friendica.git] / view / theme / frio / config.php
index 3b9233e0a48106c693352b879ec70cbd5f134e58..ee4f036607c89f3ba8ac161008cf24e8f6c36938 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -57,7 +57,7 @@ function theme_post(App $a)
 
 function theme_admin_post(App $a)
 {
-       if (!is_site_admin()) {
+       if (!$a->isSiteAdmin()) {
                return;
        }