summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:15:59 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:15:59 -0500
commiteaa44dcd0938ad48f4a9f863b24ca5d3a318ae10 (patch)
tree71d577e01200b3a143971a3a23d8f6b7cdf545fe /lib/class/artist.class.php
parent42133f38d223a2b3b81d309f2d1a983ef2012485 (diff)
downloadampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.tar.gz
ampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.tar.bz2
ampache-eaa44dcd0938ad48f4a9f863b24ca5d3a318ae10.zip
Continue moving things into UI
check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv() truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index d4e2df76..d971e33a 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -241,7 +241,7 @@ class Artist extends database_object {
public function format() {
/* Combine prefix and name, trim then add ... if needed */
- $name = truncate_with_ellipsis(trim($this->prefix . " " . $this->name),Config::get('ellipse_threshold_artist'));
+ $name = UI::truncate(trim($this->prefix . " " . $this->name),Config::get('ellipse_threshold_artist'));
$this->f_name = $name;
$this->f_full_name = trim(trim($this->prefix) . ' ' . trim($this->name));