summaryrefslogtreecommitdiffstats
path: root/lib/public/IPreview.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-10-04 14:41:08 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-10-21 10:35:18 +0200
commit8bc25e33243a914a44e86ef4ba060ab6a8bd3237 (patch)
tree299537ccec1a02f20e7de6119a0d2325865ab79f /lib/public/IPreview.php
parent732a05716719dfcb866ba14863500cfb357fe543 (diff)
downloadnextcloud-server-8bc25e33243a914a44e86ef4ba060ab6a8bd3237.tar.gz
nextcloud-server-8bc25e33243a914a44e86ef4ba060ab6a8bd3237.zip
Move preview provider registration to bootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/IPreview.php')
-rw-r--r--lib/public/IPreview.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/IPreview.php b/lib/public/IPreview.php
index c4e3c557012..a8a798a526c 100644
--- a/lib/public/IPreview.php
+++ b/lib/public/IPreview.php
@@ -58,6 +58,9 @@ interface IPreview {
* @param \Closure $callable
* @return void
* @since 8.1.0
+ * @see \OCP\AppFramework\Bootstrap\IRegistrationContext::registerPreviewProvider
+ *
+ * @deprecated 23.0.0 Register your provider via the IRegistrationContext when booting the app
*/
public function registerProvider($mimeTypeRegex, \Closure $callable);