Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function apply(User $user, UserSuspension $userSuspension, Suspension $suspension) {
- $sql = "UPDATE wcf".WCF_N."_user
- SET banned = 1,
- banReason = '".$suspension"'
- WHERE userID = ".$user->userID;
- WCF::getDB()->sendQuery($sql);
- }
Advertisement
Add Comment
Please, Sign In to add comment