No need to add an obj when deleting a session

skala
Julio Montoya 12 years ago
parent f5c9b80751
commit 8d2a9f9f3b
  1. 6
      main/exercice/exercice.php

@ -1023,6 +1023,6 @@ if ($origin != 'learnpath') { //so we are not in learnpath tool
Display :: display_footer();
}
Session::erase('objExercise', $objExercise);
Session::erase('objQuestion', $objQuestion);
Session::erase('objAnswer', $objAnswer);
Session::erase('objExercise');
Session::erase('objQuestion');
Session::erase('objAnswer');

Loading…
Cancel
Save