aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Support/Subscription/ISubscription.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-10-08 11:41:16 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-12-02 15:20:03 +0100
commitd87705a8941511a4e3bf8f6c97d6e0f36a42799e (patch)
tree5c6d2ba0aed6a6c9b3bc0563ca800de65680bfea /lib/public/Support/Subscription/ISubscription.php
parente25a62c69dc83ba5655577181f4ea41a47c742b5 (diff)
downloadnextcloud-server-d87705a8941511a4e3bf8f6c97d6e0f36a42799e.tar.gz
nextcloud-server-d87705a8941511a4e3bf8f6c97d6e0f36a42799e.zip
Allow subscription to indicate that a userlimit is reached
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Support/Subscription/ISubscription.php')
-rw-r--r--lib/public/Support/Subscription/ISubscription.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/Support/Subscription/ISubscription.php b/lib/public/Support/Subscription/ISubscription.php
index 83b7509b9fe..9614c0ed77b 100644
--- a/lib/public/Support/Subscription/ISubscription.php
+++ b/lib/public/Support/Subscription/ISubscription.php
@@ -45,4 +45,11 @@ interface ISubscription {
* @since 17.0.0
*/
public function hasExtendedSupport(): bool;
+
+ /**
+ * Indicates if a hard user limit is reached and no new users should be created
+ *
+ * @since 21.0.0
+ */
+ public function isHardUserLimitReached(): bool;
}