Update src/ORM/DatabaseAdmin.php

Co-authored-by: Guy Marriott <guy.the.person@gmail.com>
This commit is contained in:
Damian Mooyman 2020-11-13 11:48:50 +13:00 committed by GitHub
parent 2753516783
commit 5d45bbdd0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -410,7 +410,6 @@ class DatabaseAdmin extends Controller
*/
protected function updateLegacyClassNames($dataClass, $fieldName, $oldClassName, $newClassName)
{
// no-op
Deprecation::notice('5.0', 'use updateLegacyClassNameField instead');
$this->updateLegacyClassNameField($dataClass, $fieldName, [$oldClassName => $newClassName]);
}