mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
0.6.6: change the way the preview provider is registered (needed for OC8.1)
This commit is contained in:
parent
42138ed7e4
commit
ec5b4beaa2
2 changed files with 2 additions and 2 deletions
|
@ -8,4 +8,4 @@ require 'files_opds/lib/epub-preview.php';
|
||||||
\OCP\App::registerAdmin('files_opds', 'admin');
|
\OCP\App::registerAdmin('files_opds', 'admin');
|
||||||
|
|
||||||
/* register preview provider */
|
/* register preview provider */
|
||||||
\OC\Preview::registerProvider('OC\Preview\Epub');
|
\OC::$server->getPreviewManager()->registerProvider('OC\Preview\Epub');
|
||||||
|
|
|
@ -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/).
|
The feed is in compliance with the OPDS 1.1 specification according to the online OPDS validator (http://opds-validator.appspot.com/).
|
||||||
</description>
|
</description>
|
||||||
<licence>AGPL</licence>
|
<licence>AGPL</licence>
|
||||||
<version>0.6.5</version>
|
<version>0.6.6</version>
|
||||||
<author>Frank de Lange</author>
|
<author>Frank de Lange</author>
|
||||||
<requiremin>7.0</requiremin>
|
<requiremin>7.0</requiremin>
|
||||||
<shipped>true</shipped>
|
<shipped>true</shipped>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue