Skip to content
Snippets Groups Projects
Commit beac7274 authored by shalini_jha's avatar shalini_jha
Browse files

Removed clearCaches method.

parent 83f4ec13
No related branches found
No related tags found
No related merge requests found
......@@ -719,13 +719,4 @@ protected static function normalizeQuery(string $query_string, string $database_
return str_replace([$database_prefix, "\r\n", "\r", "\n"], ['', ' ', ' ', ' '], $query_string);
}
/**
* Clears all cache bins.
*/
protected function clearCaches(): void {
foreach (Cache::getBins() as $bin) {
$bin->deleteAll();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment