mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Add more front-end controllers, language file cleanup
This commit is contained in:
@@ -155,7 +155,7 @@ class DatabaseHostService
|
||||
{
|
||||
$count = $this->databaseRepository->findCountWhere([['database_host_id', '=', $id]]);
|
||||
if ($count > 0) {
|
||||
throw new DisplayException(trans('admin/exceptions.databases.delete_has_databases'));
|
||||
throw new DisplayException(trans('exceptions.databases.delete_has_databases'));
|
||||
}
|
||||
|
||||
return $this->repository->delete($id);
|
||||
|
||||
Reference in New Issue
Block a user