Proyectos de Subversion Moodle

Rev

Rev 224 | Rev 247 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 224 Rev 246
Línea 49... Línea 49...
49
        if (!$this->user || !core_user::is_real_user($this->userID)) {
49
        if (!$this->user || !core_user::is_real_user($this->userID)) {
50
            throw new moodle_exception('invaliduser', 'error');
50
            throw new moodle_exception('invaliduser', 'error');
51
        }
51
        }
Línea 52... Línea 52...
52
 
52
 
53
        $PAGE->set_context(context_user::instance($this->userID));
53
        $PAGE->set_context(context_user::instance($this->userID));
54
        $PAGE->set_pagelayout('mydashboard');
54
        //$PAGE->set_pagelayout('mydashboard');
55
        $PAGE->set_title("{$SITE->shortname}: " . $this->title);
55
        $PAGE->set_title("{$SITE->shortname}: " . $this->title);
Línea 56... Línea 56...
56
    }
56
    }
57
 
57