From c715404e6af5c4372b7b601a95f49779a31f6124 Mon Sep 17 00:00:00 2001 From: jerome Date: Thu, 18 Sep 2008 02:39:10 +0000 Subject: [PATCH] MDL-15402: remove has_admin_config() and has_instance_config() from repository local and update plugins --- repository/local/repository.class.php | 14 +------------- repository/upload/repository.class.php | 11 ----------- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/repository/local/repository.class.php b/repository/local/repository.class.php index 9586424dd1..0a82b27de9 100755 --- a/repository/local/repository.class.php +++ b/repository/local/repository.class.php @@ -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');; } diff --git a/repository/upload/repository.class.php b/repository/upload/repository.class.php index 89b2b8b687..1ea7aa2767 100755 --- a/repository/upload/repository.class.php +++ b/repository/upload/repository.class.php @@ -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');; } -- 2.39.5