Remove unused markdown method

This commit is contained in:
James Cole 2018-02-06 19:49:09 +01:00
parent 811d8e330f
commit 178072d3af
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -23,7 +23,6 @@ declare(strict_types=1);
namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
use League\CommonMark\CommonMarkConverter;
/**
* Class Note.
@ -44,17 +43,6 @@ class Note extends Model
/** @var array */
protected $fillable = ['title', 'text'];
/**
* @codeCoverageIgnore
* @return string
*/
public function getMarkdownAttribute(): string
{
$converter = new CommonMarkConverter;
return $converter->convertToHtml($this->text);
}
/**
* @codeCoverageIgnore
*