Skip to content

Commit

Permalink
MDL-44354 page: fixed ignored property when fetching a renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Apr 10, 2014
1 parent 8abf605 commit b3a72c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/pagelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,6 @@ public function __set($name, $value) {
* @return renderer_base
*/
public function get_renderer($component, $subtype = null, $target = null) {
$target = null;
if ($this->pagelayout === 'maintenance') {
// If the page is using the maintenance layout then we're going to force target to maintenance.
// This leads to a special core renderer that is designed to block access to API's that are likely unavailable for this
Expand Down

0 comments on commit b3a72c7

Please sign in to comment.