Skip to content

Commit

Permalink
mnet MDL-21261 moving upgrade functions to lib/upgrade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Penny Leach committed Feb 2, 2010
1 parent 287efec commit c71ade2
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 253 deletions.
237 changes: 0 additions & 237 deletions admin/mnet/adminlib.php

This file was deleted.

8 changes: 1 addition & 7 deletions admin/report/unittest/test_tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@
upgrade_plugins($type);
}

/// Check for changes to RPC functions
if ($CFG->mnet_dispatcher_mode != 'off') {
require_once("$CFG->dirroot/$CFG->admin/mnet/adminlib.php");
upgrade_RPC_functions($return_url); // Return here afterwards
}

/// just make sure upgrade logging is properly terminated
upgrade_finished();

Expand All @@ -98,4 +92,4 @@
create_admin_user();


redirect('index.php');
redirect('index.php');
Loading

0 comments on commit c71ade2

Please sign in to comment.