mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Update obsolete App::getBaseUrl calls to DI::baseUrl
This commit is contained in:
parent
c03588f0b4
commit
905823ea63
38 changed files with 510 additions and 480 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue