@@ 593-600 (lines=8) @@ | ||
590 | $text = false; |
|
591 | } |
|
592 | ||
593 | if ( is_string( $text ) && $model !== false ) { |
|
594 | // Apply export transformation to text coming from an old dump. |
|
595 | // The purpose of this transformation is to convert up from legacy |
|
596 | // formats, which may still be used in the older dump that is used |
|
597 | // for pre-fetching. Applying the transformation again should not |
|
598 | // interfere with content that is already in the correct form. |
|
599 | $text = $this->exportTransform( $text, $model, $format ); |
|
600 | } |
|
601 | } |
|
602 | ||
603 | if ( $text === false ) { |
|
@@ 612-616 (lines=5) @@ | ||
609 | $text = $this->getTextDb( $id ); |
|
610 | } |
|
611 | ||
612 | if ( $text !== false && $model !== false ) { |
|
613 | // Apply export transformation to text coming from the database. |
|
614 | // Prefetched text should already have transformations applied. |
|
615 | $text = $this->exportTransform( $text, $model, $format ); |
|
616 | } |
|
617 | ||
618 | // No more checks for texts from DB for now. |
|
619 | // If we received something that is not false, |