Issue #2081177 by smiro: Remove Unused local variable from /core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php.

8.0.x
webchick 2013-12-04 00:22:57 -08:00
parent 1fd57f63d1
commit 53753dac83
1 changed files with 0 additions and 1 deletions

View File

@ -149,7 +149,6 @@ class MenuLinkStorageController extends DatabaseStorageController implements Men
* Overrides DatabaseStorageController::save().
*/
public function save(EntityInterface $entity) {
$entity_class = $this->entityInfo['class'];
// We return SAVED_UPDATED by default because the logic below might not
// update the entity if its values haven't changed, so returning FALSE