Update signature of Minz_Extension::getFileUrl

To align with https://github.com/FreshRSS/FreshRSS/pull/7495
The code still works without this change though.
This commit is contained in:
Alexandre Alapetite 2025-04-15 22:45:51 +02:00
parent cfe23c5dfa
commit bea6effd2b
No known key found for this signature in database
GPG key ID: A24378C38E812B23
15 changed files with 24 additions and 24 deletions

View file

@ -6,10 +6,10 @@ final class TitleWrapExtension extends Minz_Extension {
#[\Override]
public function init(): void {
if (version_compare(FRESHRSS_VERSION, "1.23.1") > 0) {
Minz_View::appendStyle($this->getFileUrl('title_wrap.css', 'css'));
Minz_View::appendStyle($this->getFileUrl('title_wrap.css'));
} else {
// legacy <1.24.0 (= 1.23.2-dev)
Minz_View::appendStyle($this->getFileUrl('title_wrap_legacy.css', 'css'));
Minz_View::appendStyle($this->getFileUrl('title_wrap_legacy.css'));
}
}
}