Merge "installer: Remove redundant $key variable"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 9 Mar 2019 22:38:59 +0000 (22:38 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 9 Mar 2019 22:38:59 +0000 (22:38 +0000)
1  2 
includes/installer/Installer.php

@@@ -866,8 -866,7 +866,7 @@@ abstract class Installer 
                }
  
                if ( !$caches ) {
-                       $key = 'config-no-cache-apcu';
-                       $this->showMessage( $key );
+                       $this->showMessage( 'config-no-cache-apcu' );
                }
  
                $this->setVar( '_Caches', $caches );
        }
  
        /**
 -       * Generate a secret value for variables using our CryptRand generator.
 -       * Produce a warning if the random source was insecure.
 +       * Generate a secret value for variables using a secure generator.
         *
         * @param array $keys
         * @return Status