From 0c13a90844e3715b708b334ee5c0d263abd5ab02 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 19 Sep 2007 07:46:54 +0000 Subject: [PATCH] textlib: Don't require_once() class.t3lib_div.php which we never use The largest of the 2 typo3 libs we ship in Moodle is never used. So don't even parse it. This takes Moodle's "default homepage" from 1.8MB to 1.6MB of PHP. Tiny, but every bit helps... --- lib/textlib.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/textlib.class.php b/lib/textlib.class.php index d67c5d0e4d..0e03161a32 100644 --- a/lib/textlib.class.php +++ b/lib/textlib.class.php @@ -26,7 +26,6 @@ /// Required files require_once($CFG->libdir.'/typo3/class.t3lib_cs.php'); - require_once($CFG->libdir.'/typo3/class.t3lib_div.php'); /// If ICONV is available, lets Typo3 library use it for convert if (extension_loaded('iconv')) { -- 2.39.5