mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-50935-master-2' of https://github.com/junpataleta/moodle
This commit is contained in:
commit
1ba4e0100e
@ -38,5 +38,15 @@ function xmldb_atto_equation_upgrade($oldversion) {
|
||||
// Automatically generated Moodle v4.0.0 release upgrade line.
|
||||
// Put any upgrade step following this.
|
||||
|
||||
if ($oldversion < 2022110700) {
|
||||
$oldmatrix = '\left| \begin{matrix} a_1 & a_2 \\ a_3 & a_4 \end{matrix} \right|';
|
||||
$fixedmatrix = '\left| \begin{matrix} a_1 & a_2 \\\\ a_3 & a_4 \end{matrix} \right|';
|
||||
$config = get_config('atto_equation', 'librarygroup4');
|
||||
$newdefault = str_replace($oldmatrix, $fixedmatrix, $config);
|
||||
set_config('librarygroup4', $newdefault, 'atto_equation');
|
||||
// Atto equation savepoint reached.
|
||||
upgrade_plugin_savepoint(true, 2022110700, 'atto', 'equation');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ if ($ADMIN->fulltree) {
|
||||
(a)
|
||||
[a]
|
||||
\lbrace{a}\rbrace
|
||||
\left| \begin{matrix} a_1 & a_2 \\ a_3 & a_4 \end{matrix} \right|
|
||||
\left| \begin{matrix} a_1 & a_2 \\\\ a_3 & a_4 \end{matrix} \right|
|
||||
\frac{a}{b+c}
|
||||
\vec{a}
|
||||
\binom {a} {b}
|
||||
|
@ -24,6 +24,6 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2022041900; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->version = 2022110700; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2022041200; // Requires this Moodle version.
|
||||
$plugin->component = 'atto_equation'; // Full name of the plugin (used for diagnostics).
|
||||
|
Loading…
x
Reference in New Issue
Block a user