summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 19:16:56 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-10-29 19:16:56 +0000
commitc63317e869d1da28ab3a429bf4116446f9bcbc64 (patch)
tree6b717f2dae35ddd22bcd7755c3c0f9d453a3acd0 /modules
parent98c4a922621fd2df37a1204c09b06594f20536ea (diff)
downloadampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.tar.gz
ampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.tar.bz2
ampache-c63317e869d1da28ab3a429bf4116446f9bcbc64.zip
some initial flash player integration from forums and some bug fixes on most popular
Diffstat (limited to 'modules')
-rw-r--r--modules/lib.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/lib.php b/modules/lib.php
index 6023dbf6..b90a6c4f 100644
--- a/modules/lib.php
+++ b/modules/lib.php
@@ -200,25 +200,6 @@ ECHO;
}
-function get_artist_name ($artist, $dbh=0) {
-
- global $settings;
- if (!is_resource($dbh)) {
- $dbh = dbh();
- }
-
- $query = "SELECT name FROM artist WHERE id = '$artist'";
- $db_result = mysql_query($query, $dbh);
-
- if ($r = mysql_fetch_object($db_result)) {
- return $r->name;
- }
- else {
- return FALSE;
- }
-}
-
-
function get_artist_info ($artist_id) {
$dbh = dbh();
@@ -264,24 +245,6 @@ function get_artist_from_album ($album_id) {
}
-function get_artist_name_from_song ($song_id) {
-
- $dbh = dbh();
-
- $sql = "SELECT artist.name AS name FROM artist, song" .
- " WHERE artist.id = song.artist" .
- " AND song.id = '$song_id'";
- $db_result = mysql_query($sql, $dbh);
-
- if ($r = mysql_fetch_object($db_result)) {
- return $r->name;
- }
- else {
- return FALSE;
- }
-}
-
-
function get_album_name ($album, $dbh = 0) {
$album = new Album($album);