Throw instead of doing nothing

This commit is contained in:
Julius Härtl 2021-07-28 18:00:52 +02:00 committed by GitHub
parent aa40822225
commit 820641ee0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -212,10 +212,7 @@ class Circles {
*
*/
public static function getMember($circleUniqueId, $ident, $type, $forceAll = false) {
// $c = self::getContainer();
//
// return $c->query(MembersService::class)
// ->getMember($circleUniqueId, $ident, $type, $forceAll);
throw new \BadMethodCallException('Method is deprecated and not longer works');
}
@ -232,9 +229,6 @@ class Circles {
*
*/
public static function getFilesForCircles($circleUniqueIds) {
// $c = self::getContainer();
//
// return $c->query(CirclesService::class)
// ->getFilesForCircles($circleUniqueIds);
throw new \BadMethodCallException('Method is deprecated and not longer works');
}
}