]> git.mxchange.org Git - friendica-addons.git/blobdiff - group_text/group_text.php
Update obsolete App::getBaseUrl calls to DI::baseUrl
[friendica-addons.git] / group_text / group_text.php
index 47768df2d7a5f25233e6c2198964c5c553d97785..6d14b6f5f851138e2851275bbc8b801a0230f4a3 100644 (file)
@@ -9,6 +9,7 @@ use Friendica\Core\Hook;
 use Friendica\Core\L10n;
 use Friendica\Core\Logger;
 use Friendica\Core\PConfig;
+use Friendica\DI;
 
 function group_text_install() {
 
@@ -64,7 +65,7 @@ function group_text_settings(&$a,&$s) {
 
        /* Add our stylesheet to the page so we can make our settings look nice */
 
-       $a->page['htmlhead'] .= '<link rel="stylesheet"  type="text/css" href="' . $a->getBaseURL() . '/addon/group_text/group_text.css' . '" media="all" />' . "\r\n";
+       $a->page['htmlhead'] .= '<link rel="stylesheet"  type="text/css" href="' . DI::baseUrl()->get() . '/addon/group_text/group_text.css' . '" media="all" />' . "\r\n";
 
        /* Get the current state of our config variable */