mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 01:25:54 +02:00
Implemented button groups and hooked up all different types of Clear Cache available
This commit is contained in:
@@ -304,7 +304,7 @@ class AdminController
|
||||
|
||||
$results = Cache::clearCache($clear);
|
||||
if (count($results) > 0) {
|
||||
$this->admin->json_response = ['status' => 'success', 'message' => 'Cache cleared'];
|
||||
$this->admin->json_response = ['status' => 'success', 'message' => 'Cache cleared <br />Method: ' . $clear . ''];
|
||||
} else {
|
||||
$this->admin->json_response = ['status' => 'error', 'message' => 'Error clearing cache'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user