X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Ftheme.php;h=df17a7fd9c22d3b73ff40fb4068369d90c26d914;hb=1454f3bc2a3a150ee7cdafb432ab1a7f696128e5;hp=624e8690435437ef055f794eab736a86a3f4178d;hpb=3c24bed412235cf8c7a3f16b46fed18004abf87b;p=friendica.git
diff --git a/view/theme/quattro/theme.php b/view/theme/quattro/theme.php
index 624e869043..df17a7fd9c 100644
--- a/view/theme/quattro/theme.php
+++ b/view/theme/quattro/theme.php
@@ -8,9 +8,35 @@
*/
use Friendica\App;
-use Friendica\Core\System;
+use Friendica\DI;
+
+/*
+ * This script can be included even when the app is in maintenance mode which requires us to avoid any config call
+ */
function quattro_init(App $a) {
- $a->page['htmlhead'] .= '';
- $a->page['htmlhead'] .= '';;
+ DI::page()['htmlhead'] .= '';
+ DI::page()['htmlhead'] .= '';;
+}
+
+/**
+ * @param int|null $uid
+ * @return null
+ * @see \Friendica\Core\Theme::getBackgroundColor()
+ * @TODO Implement this function
+ */
+function quattro_get_background_color(int $uid = null)
+{
+ return null;
+}
+
+/**
+ * @param int|null $uid
+ * @return null
+ * @see \Friendica\Core\Theme::getThemeColor()
+ * @TODO Implement this function
+ */
+function quattro_get_theme_color(int $uid = null)
+{
+ return null;
}