This commit is contained in:
Andy Miller
2016-07-16 10:52:06 -06:00
parent 82a642952f
commit 1382223fe6
2 changed files with 1 additions and 3 deletions

View File

@@ -1009,7 +1009,6 @@ class AdminController
return false;
}
Cache::clearCache();
$this->admin->json_response = [
'status' => 'success',
'message' => $this->admin->translate('PLUGIN_ADMIN.FILE_UPLOADED_SUCCESSFULLY')
@@ -1046,7 +1045,6 @@ class AdminController
if (file_exists($targetPath)) {
if (unlink($targetPath)) {
Cache::clearCache();
$this->admin->json_response = [
'status' => 'success',
'message' => $this->admin->translate('PLUGIN_ADMIN.FILE_DELETED') . ': ' . $filename
@@ -1079,7 +1077,6 @@ class AdminController
}
if ($deletedResponsiveImage) {
Cache::clearCache();
$this->admin->json_response = [
'status' => 'success',
'message' => $this->admin->translate('PLUGIN_ADMIN.FILE_DELETED') . ': ' . $filename