Issue #2081169 by rivimey, areke, smiro: Remove unused local variables from the link module.
parent
6342a1355b
commit
bd3791cbde
|
@ -104,7 +104,6 @@ class LinkItem extends ConfigFieldItemBase {
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function preSave() {
|
public function preSave() {
|
||||||
$item = $this->getValue();
|
|
||||||
// Trim any spaces around the URL and link text.
|
// Trim any spaces around the URL and link text.
|
||||||
$this->url = trim($this->url);
|
$this->url = trim($this->url);
|
||||||
$this->title = trim($this->title);
|
$this->title = trim($this->title);
|
||||||
|
|
Loading…
Reference in New Issue