Skip to content

Commit

Permalink
MDL-15402: remove has_admin_config() and has_instance_config() from r…
Browse files Browse the repository at this point in the history
…epository local and update plugins
  • Loading branch information
jerome committed Sep 18, 2008
1 parent 06e65e1 commit c715404
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
14 changes: 1 addition & 13 deletions repository/local/repository.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,19 +183,7 @@ private function build_tree($fileinfo, $search, $dynamicmode, &$list) {
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');;
}
Expand Down
11 changes: 0 additions & 11 deletions repository/upload/repository.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ public function print_search() {
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');;
}
Expand Down

0 comments on commit c715404

Please sign in to comment.