MDL-24321 switching to standard stdClass()

This commit is contained in:
Petr Skoda
2010-09-21 08:54:01 +00:00
parent 8c6521bb9b
commit 6bdfef5da9
53 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
$draftitemid = $this->_values['itemid'];
}
$args = new stdclass;
$args = new stdClass();
// need these three to filter repositories list
$args->accepted_types = array('image');
$args->return_types = (FILE_INTERNAL | FILE_EXTERNAL);