]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15402: default visibility is now set to false
authorjerome <jerome>
Thu, 4 Sep 2008 04:24:36 +0000 (04:24 +0000)
committerjerome <jerome>
Thu, 4 Sep 2008 04:24:36 +0000 (04:24 +0000)
repository/lib.php

index 43e0c6fc70dcef177f1e52cf5b27b461a3c279e8..6f1ecb2103f0fa27c801390befbef40a3c8ff336 100644 (file)
@@ -108,7 +108,7 @@ class repository_type {
      * @param boolean $visible
      * @param integer $sortorder (don't really need set, it will be during create() call)
      */
-    public function __construct($typename = '', $typeoptions = array(), $visible = true, $sortorder = 0){
+    public function __construct($typename = '', $typeoptions = array(), $visible = false, $sortorder = 0){
         global $CFG;
 
         //set type attributs