aboutsummaryrefslogtreecommitdiffstats
path: root/lib/util.php
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2012-04-01 11:20:12 +0200
committerFrank Karlitschek <karlitschek@kde.org>2012-04-01 11:20:12 +0200
commit6545e4878715c10d85a72b1cdb3f7cef73d7e383 (patch)
treeb915bd496a0425d94748f633f23ee4ff43b33231 /lib/util.php
parent6bb48b2731185dd93ad1a1edc52f33725cd99061 (diff)
downloadnextcloud-server-6545e4878715c10d85a72b1cdb3f7cef73d7e383.tar.gz
nextcloud-server-6545e4878715c10d85a72b1cdb3f7cef73d7e383.zip
Show the different editions to the user. Used in the status call, on the personal settings page and in the updater to update to the next available version from the same edition.
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 529b6d958fb..722b7404d0c 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -77,6 +77,14 @@ class OC_Util {
return '3';
}
+ /**
+ * get the current installed edition of ownCloud. There is the community edition that just returns an empty string and the enterprise edition that returns "Enterprise".
+ * @return string
+ */
+ public static function getEditionString(){
+ return '';
+ }
+
/**
* add a javascript file
*