Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: DEV backlog
-
Component/s: MNet
-
Labels:
-
Difficulty:Difficult
-
Affected Branches:MOODLE_20_STABLE
Description
Meta bug to help group 2.0 bugs
maybe we could get rid of the ugly $MNET global that is instantiated in the middle of library function, I say you already did something like that in portfolio code. The $MNET instance could be returned by some core function like "get_mnet_environment()" which would also load the general mnet library.
see mnet/lib.php:
$MNET = new mnet_environment(); $MNET->init();$MNET = new mnet_environment(); $MNET->init();