mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-15402: remove has_admin_config() and has_instance_config() from repository local and update plugins
This commit is contained in:
parent
06e65e1e67
commit
c715404e6a
@ -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');;
|
||||
}
|
||||
|
@ -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');;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user