http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89106

Revision: 89106
Author:   reedy
Date:     2011-05-29 14:28:01 +0000 (Sun, 29 May 2011)
Log Message:
-----------
Followup r83140, fix undefined $id

Modified Paths:
--------------
    trunk/phase3/includes/objectcache/ObjectCache.php

Modified: trunk/phase3/includes/objectcache/ObjectCache.php
===================================================================
--- trunk/phase3/includes/objectcache/ObjectCache.php   2011-05-29 14:25:20 UTC 
(rev 89105)
+++ trunk/phase3/includes/objectcache/ObjectCache.php   2011-05-29 14:28:01 UTC 
(rev 89106)
@@ -64,7 +64,7 @@
                        $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." );
                }
        }


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to