diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:50:40 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-01-25 22:50:40 +0100 |
commit | 4dbee99b7b01d39fced711112c60f341ec3c96e8 (patch) | |
tree | dc70546ddbdf0216e5ee7ef698480b57000ee73c /apps | |
parent | b9bbb894f8b01e000bb5e3a8a82db7bebad3ea00 (diff) | |
download | nextcloud-server-4dbee99b7b01d39fced711112c60f341ec3c96e8.tar.gz nextcloud-server-4dbee99b7b01d39fced711112c60f341ec3c96e8.zip |
Remove useless return statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CalDAV/Plugin.php | 2 | ||||
-rw-r--r-- | apps/federatedfilesharing/lib/FederatedShareProvider.php | 3 | ||||
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/apps/dav/lib/CalDAV/Plugin.php b/apps/dav/lib/CalDAV/Plugin.php index 167ea4ffd69..0d793f929b3 100644 --- a/apps/dav/lib/CalDAV/Plugin.php +++ b/apps/dav/lib/CalDAV/Plugin.php @@ -36,8 +36,6 @@ class Plugin extends \Sabre\CalDAV\Plugin { list(, $principalId) = \Sabre\Uri\split($principalUrl); return self::CALENDAR_ROOT .'/' . $principalId; } - - return; } } diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php index 1025c3c4ae7..6857dd48e98 100644 --- a/apps/federatedfilesharing/lib/FederatedShareProvider.php +++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php @@ -592,7 +592,6 @@ class FederatedShareProvider implements IShareProvider { // shares is a umount of a external storage. This is handled here // apps/files_sharing/lib/external/manager.php // TODO move this code over to this app - return; } @@ -934,7 +933,6 @@ class FederatedShareProvider implements IShareProvider { */ public function groupDeleted($gid) { // We don't handle groups here - return; } /** @@ -945,7 +943,6 @@ class FederatedShareProvider implements IShareProvider { */ public function userDeletedFromGroup($uid, $gid) { // We don't handle groups here - return; } /** diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index 287c6abff59..31df8a18951 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -690,7 +690,6 @@ class ShareByMailProvider implements IShareProvider { */ public function deleteFromSelf(IShare $share, $recipient) { // nothing to do here, mail shares are only outgoing shares - return; } /** @@ -981,7 +980,6 @@ class ShareByMailProvider implements IShareProvider { * @param string $gid */ public function groupDeleted($gid) { - return; } /** @@ -991,7 +989,6 @@ class ShareByMailProvider implements IShareProvider { * @param string $gid */ public function userDeletedFromGroup($uid, $gid) { - return; } /** |