From: defacer Date: Thu, 25 Nov 2004 17:35:25 +0000 (+0000) Subject: Ummm... more changes due to the renaming. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db019d935845ffc037086be83b6493ee5b3f943c;p=moodle.git Ummm... more changes due to the renaming. --- diff --git a/blocks/moodleblock.class.php b/blocks/moodleblock.class.php index d7267ba356..983ad472f2 100644 --- a/blocks/moodleblock.class.php +++ b/blocks/moodleblock.class.php @@ -296,7 +296,7 @@ class block_base { $title = $this->str->show; } - $page = MoodlePage::create_object($this->instance->pagetype, $this->instance->pageid); + $page = page_base::create_object($this->instance->pagetype, $this->instance->pageid); $script = $page->url_get_full(array('instanceid' => $this->instance->id, 'sesskey' => $USER->sesskey)); $movebuttons .= '' . diff --git a/course/view.php b/course/view.php index 7ac1022be3..087339d8c2 100644 --- a/course/view.php +++ b/course/view.php @@ -37,7 +37,7 @@ $course->format = 'weeks'; // Default format is weeks } - $PAGE = MoodlePage::create_object(MOODLE_PAGE_COURSE, $course->id); + $PAGE = page_base::create_object(MOODLE_PAGE_COURSE, $course->id); $pageblocks = blocks_get_by_page($PAGE); if (!isset($USER->editing)) {