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
+2 -2
View File
@@ -38,7 +38,7 @@ class block_comments extends block_base {
$this->content->footer = '';
$this->content->text = '';
list($context, $course, $cm) = get_context_info_array($PAGE->context->id);
$args = new stdclass;
$args = new stdClass();
$args->context = $PAGE->context;
$args->course = $course;
$args->area = 'page_comments';
@@ -50,7 +50,7 @@ class block_comments extends block_base {
$comment = new comment($args);
$comment->set_view_permission(true);
$this->content = new stdClass;
$this->content = new stdClass();
$this->content->text = $comment->output(true);
$this->content->footer = '';
return $this->content;