From: jerome Date: Thu, 4 Sep 2008 04:24:36 +0000 (+0000) Subject: MDL-15402: default visibility is now set to false X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=779e9b75bf106ebd628715993df1427320e9eff3;p=moodle.git MDL-15402: default visibility is now set to false --- diff --git a/repository/lib.php b/repository/lib.php index 43e0c6fc70..6f1ecb2103 100644 --- a/repository/lib.php +++ b/repository/lib.php @@ -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