| @@ 2231-2240 (lines=10) @@ | ||
| 2228 | list( $oldRels, $deleteCurrent ) = $this->getOldRels(); |
|
| 2229 | ||
| 2230 | // Bitfields to further suppress the content |
|
| 2231 | if ( $this->suppress ) { |
|
| 2232 | $bitfield = 0; |
|
| 2233 | // This should be 15... |
|
| 2234 | $bitfield |= Revision::DELETED_TEXT; |
|
| 2235 | $bitfield |= Revision::DELETED_COMMENT; |
|
| 2236 | $bitfield |= Revision::DELETED_USER; |
|
| 2237 | $bitfield |= Revision::DELETED_RESTRICTED; |
|
| 2238 | } else { |
|
| 2239 | $bitfield = 'oi_deleted'; |
|
| 2240 | } |
|
| 2241 | ||
| 2242 | if ( $deleteCurrent ) { |
|
| 2243 | $dbw->insertSelect( |
|
| @@ 2896-2905 (lines=10) @@ | ||
| 2893 | } |
|
| 2894 | ||
| 2895 | // Bitfields to further suppress the content |
|
| 2896 | if ( $suppress ) { |
|
| 2897 | $bitfield = 0; |
|
| 2898 | // This should be 15... |
|
| 2899 | $bitfield |= Revision::DELETED_TEXT; |
|
| 2900 | $bitfield |= Revision::DELETED_COMMENT; |
|
| 2901 | $bitfield |= Revision::DELETED_USER; |
|
| 2902 | $bitfield |= Revision::DELETED_RESTRICTED; |
|
| 2903 | } else { |
|
| 2904 | $bitfield = 'rev_deleted'; |
|
| 2905 | } |
|
| 2906 | ||
| 2907 | // For now, shunt the revision data into the archive table. |
|
| 2908 | // Text is *not* removed from the text table; bulk storage |
|