diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-03 16:01:34 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-01-03 16:01:34 +0000 |
commit | a95d696db3b6ad263497664b9dca15765c1f62c3 (patch) | |
tree | 224cd0643babcf6f18619b384fa8fa7b292a1e51 /lib/class/song.class.php | |
parent | 12ae9472c28f4477e51d6693882aa5e85ca44f41 (diff) | |
download | ampache-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.php | 4 |
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 ) ); |