This makes it easier to transition to a newer, versioned key format
while still using Het Deploy as normal.
Change-Id: I732af860ba4ea70cc7d1cc5bf46fc09fc35d7502
$data = $processCache->get( $key );
if ( !is_array( $data ) ) {
$data = $cache->get( $key );
- if ( !is_array( $data ) || $data['mVersion'] < self::VERSION ) {
+ if ( !is_array( $data )
+ || !isset( $data['mVersion'] )
+ || $data['mVersion'] < self::VERSION
+ ) {
// Object is expired
return false;
}