mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Remove unused serialUrl method from LicensePresenter
This commit is contained in:
@@ -339,15 +339,6 @@ class LicensePresenter extends Presenter
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Link to this licenses serial
|
||||
* @return string
|
||||
*/
|
||||
public function serialUrl()
|
||||
{
|
||||
return (string) link_to('/licenses/'.$this->id, mb_strimwidth($this->serial, 0, 50, '...'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Url to view this item.
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user