mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7320 - Remove WebPage::add_linked_stylesheet method
This commit is contained in:
@@ -776,11 +776,6 @@ abstract class Controller extends AbstractController
|
||||
|
||||
private function AddLinkedStylesheetToPage($sLinkedStylesheet)
|
||||
{
|
||||
// iTop 3.1 and older compatibility, if not an URI we don't know if its relative to app root or module root
|
||||
if (strpos($sLinkedStylesheet, "://") === false) {
|
||||
$this->m_oPage->add_linked_stylesheet($sLinkedStylesheet);
|
||||
}
|
||||
|
||||
$this->m_oPage->LinkStylesheetFromURI($sLinkedStylesheet);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user