]> git.mjollnir.org Git - moodle.git/commitdiff
textlib: Don't require_once() class.t3lib_div.php which we never use
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:46:54 +0000 (07:46 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:46:54 +0000 (07:46 +0000)
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

index d67c5d0e4d2bc026c450c8174b4892d6ab3b68fd..0e03161a32ecdef9cff11f733f0a747e1fa07977 100644 (file)
@@ -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')) {