Permalink
Browse files

MDL-35762 fix deprecated use of get_fast_modinfo() reset.

  • Loading branch information...
stronk7 committed Nov 6, 2012
1 parent cd59310 commit 278714a012450f8f835aaf4757968d711c20075d
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/tests/modinfolib_test.php
@@ -177,8 +177,7 @@ public function test_is_user_access_restricted_by_conditional_access() {
}
private function refresh_cm_info($course, $assign) {
- $reset = 'reset';
- get_fast_modinfo($reset);
+ get_fast_modinfo(0, 0, true);
return get_fast_modinfo($course)->instances['assign'][$assign->id];
}
}

0 comments on commit 278714a

Please sign in to comment.