Skip to content
Browse files

MDL-35898 test reset: tidyup comments (forgot to amend previous commi…

…t, grrr).
  • Loading branch information...
1 parent 02c4953 commit 2beba29760daaa2cb5cf1ce3e896840f850b984d @stronk7 stronk7 committed Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/phpunit/classes/util.php
View
4 lib/phpunit/classes/util.php
@@ -629,9 +629,9 @@ public static function reset_all_data($logchanges = false) {
$GROUPLIB_CACHE = null;
//TODO MDL-25290: add more resets here and probably refactor them to new core function
- // Rest course and module caches.
+ // Reset course and module caches.
if (class_exists('format_base')) {
- // if file containing class is not loaded, there is no cache there anyway
+ // If file containing class is not loaded, there is no cache there anyway.
format_base::reset_course_cache(0);
}
$reset = 'reset';

0 comments on commit 2beba29

Please sign in to comment.
Something went wrong with that request. Please try again.