Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
clearing the cache is moved to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
patkon committed Oct 13, 2021
1 parent 4891673 commit 9c24a28
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index.php
Expand Up @@ -436,10 +436,6 @@
// display the template
$smarty->display('index.tpl',$cache_id);

if(($p == "clearallcache") AND ($_SESSION['user_class'] == "administrator")) {
$smarty->clearAllCache();
}


/* track the hits */
if(!isset($preview)) {
Expand Down

0 comments on commit 9c24a28

Please sign in to comment.