Skip to content

Commit

Permalink
replaced old MoodlePage class call with new page_base call
Browse files Browse the repository at this point in the history
  • Loading branch information
dhawes committed Nov 29, 2004
1 parent 1c144d0 commit a9e9154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/site.php
Expand Up @@ -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');
Expand Down

0 comments on commit a9e9154

Please sign in to comment.