Skip to content

Commit 1a01ee7

Browse files
committed
feat(core): improve Cache Tools
1 parent 5de9415 commit 1a01ee7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/Controllers/ToolsController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ public function clearCacheProcess(Request $request, Response $response) : Respon
165165
{
166166
$id = $request->getParsedBody()['cache-id'];
167167

168-
$this->cache->clear($id);
168+
$this->cache->clear('doctrine');
169+
$this->cache->clear('preflight');
169170

170171
$this->flash->addMessage('success', __('admin_message_cache_files_deleted'));
171172

templates/system/tools/cache.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@
8484
</tr>
8585
</tbody>
8686
</table>
87-
{% endblock %}
87+
{% endblock %}

0 commit comments

Comments
 (0)