diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-06-07 16:36:26 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 11:29:29 +0200 |
commit | 84fc188dfc73ab16510bc80a6c091d1a017d4368 (patch) | |
tree | dbd39e7608c749aeb31498aa39d6cdd0185e3903 /lib/private/Federation | |
parent | 957b27f28267fd95bec9c8a041ca1e7be9d32aa6 (diff) | |
download | nextcloud-server-84fc188dfc73ab16510bc80a6c091d1a017d4368.tar.gz nextcloud-server-84fc188dfc73ab16510bc80a6c091d1a017d4368.zip |
some minor fixes and clode cleanup
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Federation')
-rw-r--r-- | lib/private/Federation/CloudFederationNotification.php | 7 | ||||
-rw-r--r-- | lib/private/Federation/CloudFederationProviderManager.php | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/Federation/CloudFederationNotification.php b/lib/private/Federation/CloudFederationNotification.php index fec69174a2f..62af67079e5 100644 --- a/lib/private/Federation/CloudFederationNotification.php +++ b/lib/private/Federation/CloudFederationNotification.php @@ -23,6 +23,13 @@ namespace OC\Federation; use OCP\Federation\ICloudFederationNotification; +/** + * Class CloudFederationNotification + * + * @package OC\Federation + * + * @since 14.0.0 + */ class CloudFederationNotification implements ICloudFederationNotification { private $message = []; diff --git a/lib/private/Federation/CloudFederationProviderManager.php b/lib/private/Federation/CloudFederationProviderManager.php index aa25ba9dee8..5c26afe13f8 100644 --- a/lib/private/Federation/CloudFederationProviderManager.php +++ b/lib/private/Federation/CloudFederationProviderManager.php @@ -200,7 +200,7 @@ class CloudFederationProviderManager implements ICloudFederationProviderManager * @return bool */ public function isReady() { - return $this->appManager->isEnabledForUser('cloud_federation_api', false); + return $this->appManager->isEnabledForUser('cloud_federation_api'); } /** * check if server supports the new OCM api and ask for the correct end-point |