Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding doc block todos

  • Loading branch information...
commit 62c5daf1228bfc7a6a31b8f76a39da515a2b1ebd 1 parent 6c0235b
@mrmark mrmark authored mudrd8mz committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  backup/util/helper/convert_helper.class.php
View
2  backup/util/helper/convert_helper.class.php
@@ -66,6 +66,8 @@ public static function obj_to_readable($obj) {
* @param string $component The moodle component, like block_html, mod_quiz, etc
* @param string $converterid The converter ID
* @return int
+ * @todo Add caching?
+ * @todo Can we make the lookup faster? Not taking advantage of indexes
*/
public static function get_contextid($instance, $component = 'moodle', $converterid = NULL) {
global $DB;
Please sign in to comment.
Something went wrong with that request. Please try again.