From 779e9b75bf106ebd628715993df1427320e9eff3 Mon Sep 17 00:00:00 2001 From: jerome Date: Thu, 4 Sep 2008 04:24:36 +0000 Subject: [PATCH] MDL-15402: default visibility is now set to false --- repository/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5