Merge pull request #8058 from nextcloud/useless-return

Remove useless return statements
This commit is contained in:
Roeland Jago Douma 2018-01-26 09:51:26 +01:00 committed by GitHub
commit 5a7a5e5352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 17 deletions

View File

@ -36,8 +36,6 @@ class Plugin extends \Sabre\CalDAV\Plugin {
list(, $principalId) = \Sabre\Uri\split($principalUrl);
return self::CALENDAR_ROOT .'/' . $principalId;
}
return;
}
}

View File

@ -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;
}
/**

View File

@ -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;
}
/**

View File

@ -71,15 +71,12 @@ class FailedCache implements ICache {
}
public function put($file, array $data) {
return;
}
public function insert($file, array $data) {
return;
}
public function update($id, array $data) {
return;
}
public function getId($file) {
@ -95,19 +92,15 @@ class FailedCache implements ICache {
}
public function remove($file) {
return;
}
public function move($source, $target) {
return;
}
public function moveFromCache(ICache $sourceCache, $sourcePath, $targetPath) {
return;
}
public function clear() {
return;
}
public function getStatus($file) {

View File

@ -118,7 +118,6 @@ class Node implements \OCP\Files\Node {
}
public function delete() {
return;
}
/**
@ -349,7 +348,6 @@ class Node implements \OCP\Files\Node {
}
public function getChecksum() {
return;
}
/**