mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
Remove unnneded code, related to ca00a9b150
This commit is contained in:
@@ -805,11 +805,6 @@ class AdminBaseController
|
||||
$type = $uri->param('type');
|
||||
$field = $uri->param('field');
|
||||
|
||||
$event = $this->grav->fireEvent('onAdminCanSave', new Event(['controller' => &$this]));
|
||||
if (isset($event['can_save']) && $event['can_save'] == false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->taskRemoveMedia();
|
||||
|
||||
if ($type == 'pages') {
|
||||
|
||||
Reference in New Issue
Block a user