Skip to content

Commit

Permalink
fixed some problems with clear cache page, see #174 .
Browse files Browse the repository at this point in the history
  • Loading branch information
JuKu committed Apr 24, 2018
1 parent 8fcad4b commit 78b1c9a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
class ClearCachePage extends PageType {

public function getContent(): string {
$template->assign("success_message", "Cache cleared successfully!");
//clear cache
Cache::clear();

$template = new DwooTemplate("pages/clearcache");

//clear cache
Cache::clear();
$template->assign("success_message", "Cache cleared successfully!");

return $template->getCode();
}
Expand Down

0 comments on commit 78b1c9a

Please sign in to comment.