summaryrefslogtreecommitdiffstats
path: root/lib/class/song.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-03 16:01:34 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-03 16:01:34 +0000
commita95d696db3b6ad263497664b9dca15765c1f62c3 (patch)
tree224cd0643babcf6f18619b384fa8fa7b292a1e51 /lib/class/song.class.php
parent12ae9472c28f4477e51d6693882aa5e85ca44f41 (diff)
downloadampache-a95d696db3b6ad263497664b9dca15765c1f62c3.tar.gz
ampache-a95d696db3b6ad263497664b9dca15765c1f62c3.tar.bz2
ampache-a95d696db3b6ad263497664b9dca15765c1f62c3.zip
fixed some old get_info() references
Diffstat (limited to 'lib/class/song.class.php')
-rw-r--r--lib/class/song.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php
index 0e11a3fe..a629bec1 100644
--- a/lib/class/song.class.php
+++ b/lib/class/song.class.php
@@ -725,14 +725,14 @@ class Song {
function get_rel_path($file_path=0,$catalog_id=0) {
if (!$file_path) {
- $info = $this->get_info( );
+ $info = $this->_get_info();
$file_path = $info->file;
}
if (!$catalog_id) {
$catalog_id = $info->catalog;
}
$catalog = new Catalog( $catalog_id );
- $info = $catalog->get_info( );
+ $info = $catalog->_get_info();
$catalog_path = $info->path;
$catalog_path = rtrim($catalog_path, "/");
return( str_replace( $catalog_path . "/", "", $file_path ) );