MDL-15402: remove has_admin_config() and has_instance_config() from repository local and update plugins

This commit is contained in:
jerome 2008-09-18 02:39:10 +00:00
parent 06e65e1e67
commit c715404e6a
2 changed files with 1 additions and 24 deletions

View File

@ -183,19 +183,7 @@ class repository_local extends repository {
public function print_listing() {
// will be used in non-javascript file picker
}
public static function has_admin_config() {
return false;
}
public static function get_admin_option_names() {
// todo: add dynamic loading threshold
return array();
}
// empty function is necessary to make it possible to edit the name of the repository
public function admin_config_form(&$mform) {
}
public function get_name(){
return get_string('repositoryname', 'repository_local');;
}

View File

@ -47,17 +47,6 @@ class repository_upload extends repository {
return true;
}
public static function has_admin_config() {
return false;
}
public static function get_admin_option_names() {
return array();
}
// empty function is necessary to make it possible to edit the name of the repository
public function admin_config_form(&$mform) {
}
public function get_name(){
return get_string('repositoryname', 'repository_upload');;
}