Implemented button groups and hooked up all different types of Clear Cache available

This commit is contained in:
Djamil Legato
2015-08-06 16:15:41 -07:00
parent 90f07e0d1c
commit 4f3c37aefb
7 changed files with 394 additions and 31 deletions

View File

@@ -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'];
}