mirror of
https://github.com/friendica/friendica
synced 2025-05-06 06:24:11 +02:00
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript()
This commit is contained in:
parent
302cbaa33c
commit
c7230932d6
2 changed files with 2 additions and 20 deletions
18
src/App.php
18
src/App.php
|
@ -153,24 +153,6 @@ class App
|
|||
return $this->config->getCache()->get('system', 'basepath');
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2019.09 - use Page->registerStylesheet instead
|
||||
* @see Page::registerStylesheet()
|
||||
*/
|
||||
public function registerStylesheet($path)
|
||||
{
|
||||
$this->page->registerStylesheet($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2019.09 - use Page->registerFooterScript instead
|
||||
* @see Page::registerFooterScript()
|
||||
*/
|
||||
public function registerFooterScript($path)
|
||||
{
|
||||
$this->page->registerFooterScript($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Database $database The Friendica Database
|
||||
* @param Configuration $config The Configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue