Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 82... Línea 82...
82
        if ($this->other['badgetype'] == BADGE_TYPE_SITE) {
82
        if ($this->other['badgetype'] == BADGE_TYPE_SITE) {
83
            $params = array('type' => $this->other['badgetype']);
83
            $params = array('type' => $this->other['badgetype']);
84
        } else {
84
        } else {
85
            $params = array('id' => $this->other['courseid'], 'type' => $this->other['badgetype']);
85
            $params = array('id' => $this->other['courseid'], 'type' => $this->other['badgetype']);
86
        }
86
        }
87
        return new \moodle_url('/badges/view.php', $params );
87
        return new \moodle_url('/badges/index.php', $params );
88
    }
88
    }
Línea 89... Línea 89...
89
 
89
 
90
    /**
90
    /**
91
     * Custom validations.
91
     * Custom validations.