diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-06 14:11:30 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-06 16:05:28 +0200 |
commit | 7c0951244a176e0b42d2d66a4288d74460821a8c (patch) | |
tree | 3324f36c7f0f7b5a8a85cc8f3ab910af46b3b2f8 /lib/private/legacy/util.php | |
parent | 836c938583a2709adb21cdaafb3f000e8c77a086 (diff) | |
download | nextcloud-server-7c0951244a176e0b42d2d66a4288d74460821a8c.tar.gz nextcloud-server-7c0951244a176e0b42d2d66a4288d74460821a8c.zip |
Deprecate getEditionString()
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r-- | lib/private/legacy/util.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index 648be70cf0d..04dcb8fc896 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -382,18 +382,11 @@ class OC_Util { } /** - * @description 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". + * @deprecated the value is of no use anymore * @return string */ public static function getEditionString() { - if (OC_App::isEnabled('enterprise_key')) { - return "Enterprise"; - } else { - return ""; - } - + return ''; } /** |