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:
@ -48,7 +48,7 @@ class GalleryImageController extends Controller
|
||||
{
|
||||
$this->checkPermission('image-create-all');
|
||||
$this->validate($request, [
|
||||
'file' => $this->imageRepo->getImageValidationRules()
|
||||
'file' => $this->getImageValidationRules()
|
||||
]);
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user