mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Use Service::Base for suspend and silence actions (#28459)
This commit moves the business logic in the `Admin::UsersController#suspend` and `Admin::UsersController#silence` actions to dedicated service classes. There's no functional changes in this commit. Internal topic: t/130014.
This commit is contained in:
@@ -16,5 +16,9 @@
|
||||
"type": "string",
|
||||
"example": "delete"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"silenced_till",
|
||||
"reason"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user