Skip to content

Commit

Permalink
API Stop using deprecated LeftAndMain::SCHEMA_HEADER const (#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Feb 26, 2025
1 parent 66c64a3 commit 2041df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Extensions/RemoteFileModalExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function remoteEditFormSchema(HTTPRequest $request)
protected function getSchemaResponse($schemaID, $form = null, ValidationResult $errors = null, $extraData = [])
{
Deprecation::noticeWithNoReplacment('2.4.0', 'Will be replaced with $this->getOwner()->getSchemaResponse() instead.');
$parts = $this->getOwner()->getRequest()->getHeader(LeftAndMain::SCHEMA_HEADER);
$parts = $this->getOwner()->getRequest()->getHeader(FormSchema::SCHEMA_HEADER);
$data = $this
->getFormSchema()
->getMultipartSchema($parts, $schemaID, $form, $errors);
Expand Down

0 comments on commit 2041df7

Please sign in to comment.