]> git.mxchange.org Git - friendica-addons.git/blobdiff - windowsphonepush/windowsphonepush.php
Update obsolete App::getBaseUrl calls to DI::baseUrl
[friendica-addons.git] / windowsphonepush / windowsphonepush.php
index 8d35e787cc86da6b5a60e78da84ca50f217ba975..4283ab16f5e9755b93f86b7bf7ef75beb8ec24b3 100644 (file)
@@ -107,7 +107,7 @@ function windowsphonepush_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/windowsphonepush/windowsphonepush.css' . '" media="all" />' . "\r\n";
+       $a->page['htmlhead'] .= '<link rel="stylesheet"  type="text/css" href="' . DI::baseUrl()->get() . '/addon/windowsphonepush/windowsphonepush.css' . '" media="all" />' . "\r\n";
 
        /* Get the current state of our config variables */
        $enabled = PConfig::get(local_user(), 'windowsphonepush', 'enable');