# posix_getegid() *not* getmygid() because we want the group of the webserver,
# not whoever owns the current script.
$gid = posix_getegid();
- $getpwuid = posix_getpwuid( $gid );
- $group = $getpwuid['name'];
+ $group = posix_getpwuid( $gid )['name'];
return $group;
}
}
if ( !$caches ) {
- $key = 'config-no-cache';
- // PHP >=5.5 is called APCu, earlier versions use APC (T61998).
- if ( !wfIsHHVM() && version_compare( PHP_VERSION, '5.5', '>=' ) ) {
- // config-no-cache-apcu
- $key .= '-apcu';
- }
+ $key = 'config-no-cache-apcu';
$this->showMessage( $key );
}