calendar MDL-24288 Fixed up deprecated notice within calendar lib.php
authorSam Hemelryk <sam@moodle.com>
Mon, 20 Sep 2010 03:18:53 +0000 (03:18 +0000)
committerSam Hemelryk <sam@moodle.com>
Mon, 20 Sep 2010 03:18:53 +0000 (03:18 +0000)
calendar/lib.php

index 3356323..1080d3d 100644 (file)
@@ -1643,7 +1643,7 @@ class calendar_event {
     protected $editoroptions = array(
             'subdirs'=>false,
             'forcehttps'=>false,
-            'maxfiles'=>EDITOR_UNLIMITED_FILES,
+            'maxfiles'=>-1,
             'maxbytes'=>null,
             'trusttext'=>false);
     /**