Rename marketplace plugin to meetletacbfree (mdl_modules.name limit + CI table prefixes)
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
/**
|
||||
* Admin HTML for the in-plugin privacy policy tab (Marketplace edition).
|
||||
*
|
||||
* @package mod_meetletacbmarketplace
|
||||
* @package mod_meetletacbfree
|
||||
* @copyright 2026 MeetLet
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace mod_meetletacbmarketplace\local;
|
||||
namespace mod_meetletacbfree\local;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
@@ -35,7 +35,7 @@ class privacy_policy {
|
||||
* Build privacy policy HTML (safe for admin settings heading).
|
||||
*/
|
||||
public static function render(): string {
|
||||
$plugin = 'meetletacbmarketplace';
|
||||
$plugin = 'meetletacbfree';
|
||||
|
||||
$sections = [
|
||||
self::section('scope', 'privacy_tab_scope_title', 'privacy_tab_scope_body'),
|
||||
@@ -67,7 +67,7 @@ class privacy_policy {
|
||||
* @param string $bodykey Lang string key or pre-formatted body HTML.
|
||||
*/
|
||||
protected static function section(string $id, string $titlekey, string $bodykey): string {
|
||||
$plugin = 'meetletacbmarketplace';
|
||||
$plugin = 'meetletacbfree';
|
||||
$title = get_string($titlekey, $plugin);
|
||||
$body = strpos($bodykey, '<') !== false
|
||||
? $bodykey
|
||||
|
||||
Reference in New Issue
Block a user