1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Remove redundant getImageValidationRules method

This commit is contained in:
TBK
2020-03-04 00:06:30 +01:00
parent 5cd56f63ff
commit d3737d5a87
5 changed files with 4 additions and 12 deletions

View File

@ -48,7 +48,7 @@ class GalleryImageController extends Controller
{
$this->checkPermission('image-create-all');
$this->validate($request, [
'file' => $this->imageRepo->getImageValidationRules()
'file' => $this->getImageValidationRules()
]);
try {