Commit 8a538f10 authored by Nigel McNie's avatar Nigel McNie
Browse files

Only include the activity library where needed.

Currently it seems to be lazily included in most places that need it anyway. So we can enforce that without too many problems, and it reduces the amount of code included every page load.
parent fc8d64fd
......@@ -77,7 +77,6 @@ require('mahara.php');
ensure_sanity();
require('dml.php');
require('web.php');
require('activity.php');
require('user.php');
// Database access functions
......
......@@ -24,6 +24,8 @@
*
*/
require_once('activity.php');
class PluginInteractionForum extends PluginInteraction {
public static function instance_config_form($group, $instance=null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment