Remove unused parameter
This commit is contained in:
parent
3a23a9f05c
commit
5b904bc06f
@ -15,16 +15,16 @@ namespace OCA\Documents;
|
||||
class UserController extends Controller{
|
||||
|
||||
public static function disconnectUser($args){
|
||||
$uid = self::preDispatch();
|
||||
self::disconnect($args, $uid);
|
||||
self::preDispatch();
|
||||
self::disconnect($args);
|
||||
}
|
||||
|
||||
public static function disconnectGuest($args){
|
||||
self::preDispatchGuest();
|
||||
self::disconnect($args, false);
|
||||
self::disconnect($args);
|
||||
}
|
||||
|
||||
protected static function disconnect($args, $uid){
|
||||
protected static function disconnect($args){
|
||||
$esId = @$_POST['esId'];
|
||||
$member = new Db_Member();
|
||||
$member->loadBy('member_id', $args['member_id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user