mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
remove leech warn
This commit is contained in:
@@ -61,3 +61,10 @@ function removeClaim($params)
|
||||
return $rep->delete($params['id'], $CURUSER['id']);
|
||||
}
|
||||
|
||||
function removeUserLeechWarn($params)
|
||||
{
|
||||
global $CURUSER;
|
||||
$rep = new \App\Repositories\UserRepository();
|
||||
return $rep->removeLeechWarn($CURUSER['id'], $params['uid']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user