]> git.mjollnir.org Git - moodle.git/commitdiff
removing get_creators(), no more reference to the function
authortoyomoyo <toyomoyo>
Mon, 18 Sep 2006 12:04:16 +0000 (12:04 +0000)
committertoyomoyo <toyomoyo>
Mon, 18 Sep 2006 12:04:16 +0000 (12:04 +0000)
lib/deprecatedlib.php

index f1e87cb518271f64ad92c79246705e9cb6ef7a77..4a2f94ba4bfc77b958d4a5e9483b1910e4cfb155 100644 (file)
@@ -493,24 +493,6 @@ function get_guest() {
     return get_complete_user_data('username', 'guest');
 }
 
-
-/**
- * Returns list of all creators
- *
- * @uses $CFG
- * @return object
- */
-function get_creators() {
-
-    global $CFG;
-
-    return get_records_sql("SELECT u.*
-                              FROM {$CFG->prefix}user u,
-                                   {$CFG->prefix}user_coursecreators a
-                             WHERE a.userid = u.id
-                             ORDER BY u.id ASC");
-}
-
 /**
  * Returns $user object of the main teacher for a course
  *