summaryrefslogtreecommitdiffstats
path: root/lib/public/Support/Subscription
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-11 16:08:26 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-17 16:36:23 +0200
commitdf072471a7739e0bba30bf2d1687d6461354daf1 (patch)
tree0169170e7b5fb4e280c5c34244d9943b84481eb3 /lib/public/Support/Subscription
parent2378012ee01c8eab6438d9c9005253c5b21f5e14 (diff)
downloadnextcloud-server-df072471a7739e0bba30bf2d1687d6461354daf1.tar.gz
nextcloud-server-df072471a7739e0bba30bf2d1687d6461354daf1.zip
Add extendedSupport to Subscription
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Support/Subscription')
-rw-r--r--lib/public/Support/Subscription/IRegistry.php7
-rw-r--r--lib/public/Support/Subscription/ISubscription.php7
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/Support/Subscription/IRegistry.php b/lib/public/Support/Subscription/IRegistry.php
index 7782f201f28..f13bff597d0 100644
--- a/lib/public/Support/Subscription/IRegistry.php
+++ b/lib/public/Support/Subscription/IRegistry.php
@@ -54,4 +54,11 @@ interface IRegistry {
* @since 17.0.0
*/
public function delegateHasValidSubscription(): bool;
+
+ /**
+ * Indicates if the subscription has extended support
+ *
+ * @since 17.0.0
+ */
+ public function delegateHasExtendedSupport(): bool;
}
diff --git a/lib/public/Support/Subscription/ISubscription.php b/lib/public/Support/Subscription/ISubscription.php
index fc53fe08da3..81333609119 100644
--- a/lib/public/Support/Subscription/ISubscription.php
+++ b/lib/public/Support/Subscription/ISubscription.php
@@ -34,4 +34,11 @@ interface ISubscription {
* @since 17.0.0
*/
public function hasValidSubscription(): bool;
+
+ /**
+ * Indicates if the subscription has extended support
+ *
+ * @since 17.0.0
+ */
+ public function hasExtendedSupport(): bool;
}