]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15402: remove has_admin_config() and has_instance_config() from repository local...
authorjerome <jerome>
Thu, 18 Sep 2008 02:39:10 +0000 (02:39 +0000)
committerjerome <jerome>
Thu, 18 Sep 2008 02:39:10 +0000 (02:39 +0000)
repository/local/repository.class.php
repository/upload/repository.class.php

index 9586424dd159885400a43189c4bdeb4d3db3fe1a..0a82b27de9eeb26fa9cce83bb2ff49a599b9dbef 100755 (executable)
@@ -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');;
     }
index 89b2b8b6872a3ca4474957bae6361f04839b134e..1ea7aa27675c15e17669debb76428661585e5f59 100755 (executable)
@@ -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');;
     }