From 264b4039b30fef75edf519a9d66c048ff7a0238b Mon Sep 17 00:00:00 2001 From: Adam Wight Date: Thu, 5 Jul 2018 00:45:09 +0200 Subject: [PATCH] Remove outdated transition code This was a soft transition left over from when "edittime" was the last form parameter. It has been replaced with an explicit "ultimate" param. Change-Id: I28767fdf8fab512830fe6e24cacabb598d7cca90 --- includes/EditPage.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 9a8a4a6a09..de89ab44b6 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -948,12 +948,7 @@ class EditPage { } else { // If we receive the last parameter of the request, we can fairly // claim the POST request has not been truncated. - - // TODO: softened the check for cutover. Once we determine - // that it is safe, we should complete the transition by - // removing the "edittime" clause. - $this->incompleteForm = ( !$request->getVal( 'wpUltimateParam' ) - && is_null( $this->edittime ) ); + $this->incompleteForm = !$request->getVal( 'wpUltimateParam' ); } if ( $this->incompleteForm ) { # If the form is incomplete, force to preview. -- 2.20.1