X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Factions%2FViewAction.php;h=134b8a45b11a4a7294f5d45de30bd7d6199eb348;hb=9b05f740f7b04c8c6d21e867e1759da4bcf75eff;hp=4a7f6238252f6f304c9e67b68c6855793d78a14c;hpb=1dd2e07276e1deaf431ddb01c92111038f9e2cd6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/actions/ViewAction.php b/includes/actions/ViewAction.php index 4a7f623825..134b8a45b1 100644 --- a/includes/actions/ViewAction.php +++ b/includes/actions/ViewAction.php @@ -26,7 +26,7 @@ /** * An action that views article content * - * This is a wrapper that will call Article::render(). + * This is a wrapper that will call Article::view(). * * @ingroup Actions */ @@ -58,9 +58,6 @@ class ViewAction extends FormlessAction { $touched = null; } - // If a page was purged on HTTP GET, relect that timestamp to avoid sending 304s - $touched = max( $touched, $this->page->getLastPurgeTimestamp() ); - // Send HTTP 304 if the IMS matches or otherwise set expiry/last-modified headers if ( $touched && $this->getOutput()->checkLastModified( $touched ) ) { wfDebug( __METHOD__ . ": done 304\n" );