Remove useless return statements

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/8058/head
Morris Jobke 8 years ago
parent b9bbb894f8
commit 4dbee99b7b
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 2
      apps/dav/lib/CalDAV/Plugin.php
  2. 3
      apps/federatedfilesharing/lib/FederatedShareProvider.php
  3. 3
      apps/sharebymail/lib/ShareByMailProvider.php
  4. 7
      lib/private/Files/Cache/FailedCache.php
  5. 2
      lib/private/Files/Node/Node.php

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

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

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

@ -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) {

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

Loading…
Cancel
Save