Skip to content
Browse files

replaced old MoodlePage class call with new page_base call

  • Loading branch information...
1 parent 1c144d0 commit a9e91540dfa0f522bec6c36da0c23e3fd4304d38 dhawes committed Nov 29, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/site.php
View
2 admin/site.php
@@ -41,7 +41,7 @@
if ($newid = insert_record('course', $form)) {
// Site created, add blocks for it
- $page = MoodlePage::create_object(MOODLE_PAGE_COURSE, $newid);
+ $page = page_base::create_object(MOODLE_PAGE_COURSE, $newid);
blocks_repopulate_page($page); // Return value not checked because you can always edit later
$cat->name = get_string('miscellaneous');

0 comments on commit a9e9154

Please sign in to comment.
Something went wrong with that request. Please try again.