]> git.mjollnir.org Git - moodle.git/commit
blocks/admin_tree: applicable_formats() is called as a class method
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:47:38 +0000 (07:47 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:47:38 +0000 (07:47 +0000)
commit9a55125ef62afd1e3137200530ca0809b5af2dd2
tree353b95321d2e4809874186e18c1375fc32837def
parent2e159efb1c57c2d3adfaaeff140c2dfd8a0e85cb
blocks/admin_tree: applicable_formats() is called as a class method

Can't find it documented anywhere, but applicable_formats() is only
ever called as a class method, so it cannot say $this. Instead, say
block_admin_tree::has_admin_caps().
blocks/admin_tree/block_admin_tree.php