MDL-11298 use textlib_get_instance() instead of new textlib()

This commit is contained in:
skodak
2007-09-16 18:49:41 +00:00
parent 4eb718d801
commit 8e1ec6be58
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -70,7 +70,7 @@
/// its capabilities so, don't forget to make the conversion
/// from every wrapper function!
function textlib_get_instance () {
function textlib_get_instance() {
static $instance;
if (!is_object($instance)) {
$instance = new textlib();