]> git.mjollnir.org Git - moodle.git/commitdiff
no more refernece to remove_creator() function
authortoyomoyo <toyomoyo>
Mon, 18 Sep 2006 11:55:04 +0000 (11:55 +0000)
committertoyomoyo <toyomoyo>
Mon, 18 Sep 2006 11:55:04 +0000 (11:55 +0000)
lib/deprecatedlib.php

index 7bc36164ddcf680648732afda29e7473728a979b..f1e87cb518271f64ad92c79246705e9cb6ef7a77 100644 (file)
@@ -466,19 +466,6 @@ function remove_teacher($userid, $courseid=0) {
     return $return;
 }
 
-/**
- * Remove a creator from a site
- *
- * @uses $db
- * @param int $userid The id of the user that is being tested against.
- * @return bool
- */
-function remove_creator($userid) {
-    global $db;
-
-    return delete_records('user_coursecreators', 'userid', $userid);
-}
-
 /**
  * Add an admin to a site
  *