Permalink
Browse files

MDL-50663 blocks: minor style fixes

  • Loading branch information...
danpoltawski committed Jul 21, 2015
1 parent 2d87c11 commit cce7558a9f062630b5a6763491ad3e1af2bc2204
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/blocklib.php
  2. +1 −1 my/index.php
View
@@ -594,7 +594,7 @@ public function load_blocks($includeinvisible = null) {
$ccselect = ', ' . context_helper::get_preload_record_columns_sql('ctx');
$ccjoin = "LEFT JOIN {context} ctx ON (ctx.instanceid = bi.id AND ctx.contextlevel = :contextlevel)";
$systemcontext = \context_system::instance();
$systemcontext = context_system::instance();
$params = array(
'contextlevel' => CONTEXT_BLOCK,
'subpage1' => $this->page->subpage,
View
@@ -103,7 +103,7 @@
}
// Toggle the editing state and switches
if (!$CFG->forcedefaultmymoodle && $PAGE->user_allowed_editing()) {
if (empty($CFG->forcedefaultmymoodle) && $PAGE->user_allowed_editing()) {
if ($reset !== null) {
if (!is_null($userid)) {
require_sesskey();

0 comments on commit cce7558

Please sign in to comment.