Index: trunk/phase3/includes/Title.php |
— | — | @@ -2356,7 +2356,7 @@ |
2357 | 2357 | $conditions = array( 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ); |
2358 | 2358 | |
2359 | 2359 | if( !$includeSuppressed ) { |
2360 | | - $suppressedTextBits = REVISION::DELETED_TEXT | REVISION::DELETED_RESTRICTED; |
| 2360 | + $suppressedTextBits = Revision::DELETED_TEXT | Revision::DELETED_RESTRICTED; |
2361 | 2361 | $conditions[] = $dbr->bitAnd('ar_deleted', $suppressedTextBits ) . |
2362 | 2362 | ' != ' . $suppressedTextBits; |
2363 | 2363 | } |
— | — | @@ -2368,7 +2368,7 @@ |
2369 | 2369 | if ( $this->getNamespace() == NS_FILE ) { |
2370 | 2370 | $fconditions = array( 'fa_name' => $this->getDBkey() ); |
2371 | 2371 | if( !$includeSuppressed ) { |
2372 | | - $suppressedTextBits = FILE::DELETED_FILE | FILE::DELETED_RESTRICTED; |
| 2372 | + $suppressedTextBits = File::DELETED_FILE | File::DELETED_RESTRICTED; |
2373 | 2373 | $fconditions[] = $dbr->bitAnd('fa_deleted', $suppressedTextBits ) . |
2374 | 2374 | ' != ' . $suppressedTextBits; |
2375 | 2375 | } |