Rename marketplace plugin to meetletacbfree (mdl_modules.name limit + CI table prefixes)
This commit is contained in:
@@ -14,20 +14,20 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace mod_meetletacbmarketplace\event;
|
||||
namespace mod_meetletacbfree\event;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Course module viewed event.
|
||||
*
|
||||
* @package mod_meetletacbmarketplace
|
||||
* @package mod_meetletacbfree
|
||||
* @copyright 2026 MeetLet
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class course_module_viewed extends \core\event\course_module_viewed {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'meetletacbmarketplace';
|
||||
$this->data['objecttable'] = 'meetletacbfree';
|
||||
$this->data['crud'] = 'r';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace mod_meetletacbmarketplace\event;
|
||||
namespace mod_meetletacbfree\event;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* User joined a MeetLet meeting.
|
||||
*
|
||||
* @package mod_meetletacbmarketplace
|
||||
* @package mod_meetletacbfree
|
||||
* @copyright 2026 MeetLet
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class meeting_joined extends \core\event\base {
|
||||
protected function init() {
|
||||
$this->data['objecttable'] = 'meetletacbmarketplace';
|
||||
$this->data['objecttable'] = 'meetletacbfree';
|
||||
$this->data['crud'] = 'r';
|
||||
$this->data['edulevel'] = self::LEVEL_PARTICIPATING;
|
||||
}
|
||||
|
||||
public static function get_name() {
|
||||
return get_string('joinmeeting', 'meetletacbmarketplace');
|
||||
return get_string('joinmeeting', 'meetletacbfree');
|
||||
}
|
||||
|
||||
public function get_description() {
|
||||
@@ -41,6 +41,6 @@ class meeting_joined extends \core\event\base {
|
||||
}
|
||||
|
||||
public function get_url() {
|
||||
return new \moodle_url('/mod/meetletacbmarketplace/view.php', ['id' => $this->contextinstanceid]);
|
||||
return new \moodle_url('/mod/meetletacbfree/view.php', ['id' => $this->contextinstanceid]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user