diff --git a/files_opds/appinfo/info.xml b/files_opds/appinfo/info.xml index fb6e8b9..fd4f220 100644 --- a/files_opds/appinfo/info.xml +++ b/files_opds/appinfo/info.xml @@ -10,7 +10,7 @@ The feed is in compliance with the OPDS 1.1 specification according to the online OPDS validator (http://opds-validator.appspot.com/). AGPL - 0.6.13 + 0.6.14 Frank de Lange false diff --git a/files_opds/personal.php b/files_opds/personal.php index 3647c52..518f3c2 100644 --- a/files_opds/personal.php +++ b/files_opds/personal.php @@ -10,6 +10,8 @@ namespace OCA\Files_Opds; +use OCP\Util; + $l = new \OC_L10N('files_opds'); \OCP\Util::addScript('files_opds', 'personal'); @@ -23,7 +25,7 @@ $tmpl->assign('fileTypes', Config::get('file_types', '')); $tmpl->assign('skipList', Config::get('skip_list', 'metadata.opf,cover.jpg')); $tmpl->assign('feedTitle', Config::get('feed_title', $l->t("%s's Library", \OCP\User::getDisplayName()))); $tmpl->assign('bookshelf-count', Bookshelf::count()); -$tmpl->assign('feedUrl', \OC_Helper::linkToAbsolute('','index.php') . '/apps/files_opds/'); +$tmpl->assign('feedUrl', Util::linkToAbsolute('','index.php') . '/apps/files_opds/'); return $tmpl->fetchPage();