From dd221cb1a25fa36dd95816318f96c91954520c79 Mon Sep 17 00:00:00 2001 From: "Moritz Schubotz (physikerwelt)" Date: Sat, 21 Oct 2023 11:04:30 +0200 Subject: [PATCH] Don't write native rendering to database * Native uses WANObject cache and thus the db is not needed. Change-Id: I2aec0c4bceb7db80dc24a716cabd7f2647709516 --- src/MathNativeMML.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/MathNativeMML.php b/src/MathNativeMML.php index 904a2f12a..c25532da3 100644 --- a/src/MathNativeMML.php +++ b/src/MathNativeMML.php @@ -63,4 +63,11 @@ class MathNativeMML extends MathMathML { return $this->getMathml(); } + public function readFromDatabase() { + return false; + } + + public function writeCache() { + return true; + } }