From 946fec339909a4e01c09d81a0782eff837816237 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Tue, 16 Feb 2010 12:56:02 +0000 Subject: [PATCH] Removed MMCache support, this thing is dead. Partially implements bug 19193 --- RELEASE-NOTES | 1 + config/Installer.php | 19 +++------------ includes/AutoLoader.php | 1 - includes/BagOStuff.php | 47 +----------------------------------- includes/DefaultSettings.php | 2 +- includes/Defines.php | 2 +- includes/ObjectCache.php | 2 -- 7 files changed, 7 insertions(+), 67 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 39842bf0f6..873963a47e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -326,6 +326,7 @@ comment from another wiki. * (bug 7264) Magic word to give Page Title as if pipe-trick performed on it {{pipetrick:}} * (bug 20339) Allow using the pipe trick in log reasons +* Support for Turck MMCache was removed === Bug fixes in 1.16 === diff --git a/config/Installer.php b/config/Installer.php index d60f378a8e..384a94ba9a 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -503,11 +503,6 @@ if( $memlimit == -1 ) { print "\n"; } -$conf->turck = function_exists( 'mmcache_get' ); -if ( $conf->turck ) { - print "
  • Turck MMCache installed
  • \n"; -} - $conf->xcache = function_exists( 'xcache_get' ); if( $conf->xcache ) print "
  • XCache installed
  • \n"; @@ -519,15 +514,13 @@ if ($conf->apc ) { $conf->eaccel = function_exists( 'eaccelerator_get' ); if ( $conf->eaccel ) { - $conf->turck = 'eaccelerator'; print "
  • eAccelerator installed
  • \n"; } $conf->dba = function_exists( 'dba_open' ); -if( !( $conf->turck || $conf->eaccel || $conf->apc || $conf->xcache ) ) { - echo( '
  • Couldn\'t find Turck MMCache, - eAccelerator, +if( !( $conf->eaccel || $conf->apc || $conf->xcache ) ) { + echo( '
  • Couldn\'t find eAccelerator, APC or XCache; cannot use these for object caching.
  • ' ); } @@ -1459,11 +1452,6 @@ if( count( $errs ) ) {