Merge "Revert "Log the reason why revision->getContent() returns null""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 5 Mar 2018 18:51:58 +0000 (18:51 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 5 Mar 2018 18:51:58 +0000 (18:51 +0000)
includes/Revision.php

index f8a3fcc..22eb115 100644 (file)
@@ -938,11 +938,6 @@ class Revision implements IDBAccessObject {
                        return $this->mRecord->getContent( 'main', $audience, $user );
                }
                catch ( RevisionAccessException $e ) {
-                       wfDebugLog(
-                               'T184670',
-                               __METHOD__ . ": Cannot get content: " . $e->getMessage() .
-                               "\n" . $e->getTraceAsString()
-                       );
                        return null;
                }
        }