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

@ -44,7 +44,7 @@ class SettingController extends Controller
$this->preventAccessInDemoMode();
$this->checkPermission('settings-manage');
$this->validate($request, [
'app_logo' => $this->imageRepo->getImageValidationRules(),
'app_logo' => $this->getImageValidationRules(),
]);
// Cycles through posted settings and update them