summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-26 09:51:26 +0100
committerGitHub <noreply@github.com>2018-01-26 09:51:26 +0100
commit5a7a5e5352d4ce0d1924a0f90b52022a71f6b3ae (patch)
tree2a40b119523fa91a3f171a9303edc5eaeb9ed4fe /apps
parent68f44a9a9323171a850b1a9f75888c48c3283e49 (diff)
parent4dbee99b7b01d39fced711112c60f341ec3c96e8 (diff)
downloadnextcloud-server-5a7a5e5352d4ce0d1924a0f90b52022a71f6b3ae.tar.gz
nextcloud-server-5a7a5e5352d4ce0d1924a0f90b52022a71f6b3ae.zip
Merge pull request #8058 from nextcloud/useless-return
Remove useless return statements
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CalDAV/Plugin.php2
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php3
-rw-r--r--apps/sharebymail/lib/ShareByMailProvider.php3
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;
}
/**