From 051198ce4559a9de35b30a4c63c8eb06db8021fe Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 29 May 2011 14:28:01 +0000 Subject: [PATCH] Followup r83140, fix undefined $id --- includes/objectcache/ObjectCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index eebff32c9c..25d4d470dd 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -64,7 +64,7 @@ class ObjectCache { $class = $params['class']; return new $class( $params ); } else { - throw new MWException( "The definition of cache type \"$id\" lacks both " . + throw new MWException( "The definition of cache type \"" . print_r( $params, true ) . "\" lacks both " . "factory and class parameters." ); } } -- 2.20.1