]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14617 removed legacy add admin code
authorskodak <skodak>
Thu, 1 May 2008 22:17:30 +0000 (22:17 +0000)
committerskodak <skodak>
Thu, 1 May 2008 22:17:30 +0000 (22:17 +0000)
lib/deprecatedlib.php

index 0e1bc646a6e730db4028bb14babdd54cc6713621..c48d6815f9e195df2b9bc4cc4b0d37358049da0b 100644 (file)
@@ -240,18 +240,6 @@ function isguest($userid=0) {
     return has_capability('moodle/legacy:guest', $context, $userid, false);
 }
 
-/**
- * Add an admin to a site
- *
- * @uses SITEID
- * @param int $userid The id of the user that is being tested against.
- * @return bool
- * @TODO: remove from cvs
- */
-function add_admin($userid) {
-    return true;
-}
-
 function get_user_info_from_db($field, $value) {  // For backward compatibility
     return get_complete_user_data($field, $value);
 }