From 0391f16560522f5b58eb4b2d98f74eb5e28d0409 Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 19 Jul 2011 19:00:09 +0000 Subject: [PATCH] Follow up to r91561: Use the canonical class names. --- includes/Title.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index d3d6b66f0a..d078bb5273 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -2356,7 +2356,7 @@ class Title { $conditions = array( 'ar_namespace' => $this->getNamespace(), 'ar_title' => $this->getDBkey() ); if( !$includeSuppressed ) { - $suppressedTextBits = REVISION::DELETED_TEXT | REVISION::DELETED_RESTRICTED; + $suppressedTextBits = Revision::DELETED_TEXT | Revision::DELETED_RESTRICTED; $conditions[] = $dbr->bitAnd('ar_deleted', $suppressedTextBits ) . ' != ' . $suppressedTextBits; } @@ -2368,7 +2368,7 @@ class Title { if ( $this->getNamespace() == NS_FILE ) { $fconditions = array( 'fa_name' => $this->getDBkey() ); if( !$includeSuppressed ) { - $suppressedTextBits = FILE::DELETED_FILE | FILE::DELETED_RESTRICTED; + $suppressedTextBits = File::DELETED_FILE | File::DELETED_RESTRICTED; $fconditions[] = $dbr->bitAnd('fa_deleted', $suppressedTextBits ) . ' != ' . $suppressedTextBits; } -- 2.20.1