diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-09 10:21:51 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-09 20:56:31 +0200 |
commit | 02449c83365fae8d5a47b001b18605478122bd86 (patch) | |
tree | 78fa85da82809028ade6596aea785b97764303b7 /lib/private/OCS | |
parent | 575875e8d03e1396bcdb1fac75a7c6076fd92287 (diff) | |
download | nextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.tar.gz nextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.zip |
Move getCapabilities over to Core
Diffstat (limited to 'lib/private/OCS')
-rw-r--r-- | lib/private/OCS/Cloud.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/private/OCS/Cloud.php b/lib/private/OCS/Cloud.php index 84fcfe6e512..3a00fa3756e 100644 --- a/lib/private/OCS/Cloud.php +++ b/lib/private/OCS/Cloud.php @@ -27,22 +27,6 @@ namespace OC\OCS; class Cloud { - public static function getCapabilities() { - $result = array(); - list($major, $minor, $micro) = \OCP\Util::getVersion(); - $result['version'] = array( - 'major' => $major, - 'minor' => $minor, - 'micro' => $micro, - 'string' => \OC_Util::getVersionString(), - 'edition' => \OC_Util::getEditionString(), - ); - - $result['capabilities'] = \OC::$server->getCapabilitiesManager()->getCapabilities(); - - return new Result($result); - } - public static function getCurrentUser() { $userObject = \OC::$server->getUserManager()->get(\OC_User::getUser()); $data = array( |