unused statement get_multi
-
Not sure where to send patches, but as far as I can tell this block of code will never be run and could be removed.
if ( $to_get ) { $vals = $mc->get_multi( $to_get ); $return = array_merge( $return, $vals ); }
It seems to me this whole method could be refactored to request all the keys at once with a single
mc->get
since it accepts an array of keys.
- The topic ‘unused statement get_multi’ is closed to new replies.