Skip to content

Commit

Permalink
fix: remove flush cache
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgoncalves committed Jan 3, 2025
1 parent 33cba5d commit 98a68a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public function actionChangeSchool()
Yii::app()->user->school = $_POST['SchoolIdentification']['inep_id'];
}

Yii::app()->cache->flush();

echo '<script>history.go(-1);</script>';
exit;
Expand All @@ -166,7 +165,6 @@ public function actionChangeYear()
Yii::app()->user->year = $_POST['years'];
}

Yii::app()->cache->flush();

echo '<script>history.go(-1);</script>';
exit;
Expand Down

0 comments on commit 98a68a8

Please sign in to comment.