dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop archive.ar_text and ar_flags
[lhc/web/wiklou.git]
/
includes
/
Storage
/
RevisionStore.php
diff --git
a/includes/Storage/RevisionStore.php
b/includes/Storage/RevisionStore.php
index
584142b
..
13aedba
100644
(file)
--- a/
includes/Storage/RevisionStore.php
+++ b/
includes/Storage/RevisionStore.php
@@
-636,7
+636,7
@@
class RevisionStore
*/
public function getRcIdIfUnpatrolled( RevisionRecord $rev ) {
$rc = $this->getRecentChange( $rev );
*/
public function getRcIdIfUnpatrolled( RevisionRecord $rev ) {
$rc = $this->getRecentChange( $rev );
- if ( $rc && $rc->getAttribute( 'rc_patrolled' ) ==
0
) {
+ if ( $rc && $rc->getAttribute( 'rc_patrolled' ) ==
RecentChange::PRC_UNPATROLLED
) {
return $rc->getAttribute( 'rc_id' );
} else {
return 0;
return $rc->getAttribute( 'rc_id' );
} else {
return 0;
@@
-724,11
+724,6
@@
class RevisionStore
'ar_content_model' => 'rev_content_model',
];
'ar_content_model' => 'rev_content_model',
];
- if ( empty( $archiveRow->ar_text_id ) ) {
- $fieldMap['ar_text'] = 'old_text';
- $fieldMap['ar_flags'] = 'old_flags';
- }
-
$revRow = new stdClass();
foreach ( $fieldMap as $arKey => $revKey ) {
if ( property_exists( $archiveRow, $arKey ) ) {
$revRow = new stdClass();
foreach ( $fieldMap as $arKey => $revKey ) {
if ( property_exists( $archiveRow, $arKey ) ) {
@@
-1704,7
+1699,6
@@
class RevisionStore
'ar_namespace',
'ar_title',
'ar_rev_id',
'ar_namespace',
'ar_title',
'ar_rev_id',
- 'ar_text',
'ar_text_id',
'ar_timestamp',
'ar_minor_edit',
'ar_text_id',
'ar_timestamp',
'ar_minor_edit',