MDL-58040 blocklib: never use global in block manager class
commit898da28afdb8a9df217aebe2fcf79d05957f9775
authorTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 21 Feb 2017 14:47:03 +0000 (21 14:47 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 21 Feb 2017 15:19:11 +0000 (21 15:19 +0000)
treec2fc6caaf21a2d1c8c1451abbf96ddb5ba1fd38a
parent9ec952f237d74cb161217045a40c2ae1d56a30bf
MDL-58040 blocklib: never use global  in block manager class

This switches everything to ->page, including coverting static method to real one.
lib/blocklib.php
lib/tests/blocklib_test.php