Merge "Minor CSS cleanup for Vector and Monobook skins"
[lhc/web/wiklou.git] / includes / objectcache / ObjectCache.php
index 83b6016..f7247f9 100644 (file)
@@ -123,11 +123,11 @@ class ObjectCache {
         * @return ObjectCache
         */
        static function newAccelerator( $params ) {
-               if ( function_exists( 'apc_fetch') ) {
+               if ( function_exists( 'apc_fetch' ) ) {
                        $id = 'apc';
-               } elseif( function_exists( 'xcache_get' ) && wfIniGetBool( 'xcache.var_size' ) ) {
+               } elseif ( function_exists( 'xcache_get' ) && wfIniGetBool( 'xcache.var_size' ) ) {
                        $id = 'xcache';
-               } elseif( function_exists( 'wincache_ucache_get' ) ) {
+               } elseif ( function_exists( 'wincache_ucache_get' ) ) {
                        $id = 'wincache';
                } else {
                        throw new MWException( "CACHE_ACCEL requested but no suitable object " .
@@ -141,7 +141,7 @@ class ObjectCache {
         *
         * This always uses the PHP client, since the PECL client has a different
         * hashing scheme and a different interpretation of the flags bitfield, so
-        * switching between the two clients randomly would be disasterous.
+        * switching between the two clients randomly would be disastrous.
         *
         * @param $params array
         *