git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit bfb863cb authored by Elliott Eggleston's avatar Elliott Eggleston

Fix 'undefined constant' warnings

parent ae7d4359
......@@ -81,51 +81,51 @@ $error_text = array(
# Resolves method= parameters to handler functions
$method_map = array(
'auth.gettoken' => method_auth_getToken,
'auth.getsession' => method_auth_getSession,
'auth.getmobilesession' => method_auth_getMobileSession,
'artist.addtags' => method_artist_addTags,
'artist.getinfo' => method_artist_getInfo,
'artist.gettoptracks' => method_artist_getTopTracks,
'artist.gettoptags' => method_artist_getTopTags,
'artist.gettopfans' => method_artist_getTopFans,
'artist.gettags' => method_artist_getTags,
'artist.getflattr' => method_artist_getFlattr,
'artist.search' => method_artist_search,
'album.addtags' => method_album_addTags,
'album.gettoptags' => method_album_getTopTags,
'album.gettags' => method_album_getTags,
'library.removescrobble'=> method_library_removeScrobble,
'user.getinfo' => method_user_getInfo,
'user.gettopartists' => method_user_getTopArtists,
'user.gettoptracks' => method_user_getTopTracks,
'user.getrecenttracks' => method_user_getRecentTracks,
'user.gettoptags' => method_user_getTopTags,
'user.getpersonaltags' => method_user_getPersonalTags,
'user.gettaginfo' => method_user_getTagInfo,
'user.getlovedtracks' => method_user_getLovedTracks,
'user.getbannedtracks' => method_user_getBannedTracks,
'user.getneighbours' => method_user_getNeighbours,
'radio.tune' => method_radio_tune,
'radio.getplaylist' => method_radio_getPlaylist,
'tag.gettoptags' => method_tag_getTopTags,
'tag.gettopartists' => method_tag_getTopArtists,
'tag.gettopalbums' => method_tag_getTopAlbums,
'tag.gettoptracks' => method_tag_getTopTracks,
'tag.getinfo' => method_tag_getInfo,
'track.addtags' => method_track_addTags,
'track.removetag' => method_track_removeTag,
'track.getinfo' => method_track_getInfo,
'track.gettoptags' => method_track_getTopTags,
'track.gettopfans' => method_track_getTopFans,
'track.gettags' => method_track_getTags,
'track.ban' => method_track_ban,
'track.love' => method_track_love,
'track.unlove' => method_track_unlove,
'track.unban' => method_track_unban,
'track.updatenowplaying' => method_track_updateNowPlaying,
'track.scrobble' => method_track_scrobble,
'chart.gettopartists' => method_chart_getTopArtists,
'auth.gettoken' => 'method_auth_getToken',
'auth.getsession' => 'method_auth_getSession',
'auth.getmobilesession' => 'method_auth_getMobileSession',
'artist.addtags' => 'method_artist_addTags',
'artist.getinfo' => 'method_artist_getInfo',
'artist.gettoptracks' => 'method_artist_getTopTracks',
'artist.gettoptags' => 'method_artist_getTopTags',
'artist.gettopfans' => 'method_artist_getTopFans',
'artist.gettags' => 'method_artist_getTags',
'artist.getflattr' => 'method_artist_getFlattr',
'artist.search' => 'method_artist_search',
'album.addtags' => 'method_album_addTags',
'album.gettoptags' => 'method_album_getTopTags',
'album.gettags' => 'method_album_getTags',
'library.removescrobble'=> 'method_library_removeScrobble',
'user.getinfo' => 'method_user_getInfo',
'user.gettopartists' => 'method_user_getTopArtists',
'user.gettoptracks' => 'method_user_getTopTracks',
'user.getrecenttracks' => 'method_user_getRecentTracks',
'user.gettoptags' => 'method_user_getTopTags',
'user.getpersonaltags' => 'method_user_getPersonalTags',
'user.gettaginfo' => 'method_user_getTagInfo',
'user.getlovedtracks' => 'method_user_getLovedTracks',
'user.getbannedtracks' => 'method_user_getBannedTracks',
'user.getneighbours' => 'method_user_getNeighbours',
'radio.tune' => 'method_radio_tune',
'radio.getplaylist' => 'method_radio_getPlaylist',
'tag.gettoptags' => 'method_tag_getTopTags',
'tag.gettopartists' => 'method_tag_getTopArtists',
'tag.gettopalbums' => 'method_tag_getTopAlbums',
'tag.gettoptracks' => 'method_tag_getTopTracks',
'tag.getinfo' => 'method_tag_getInfo',
'track.addtags' => 'method_track_addTags',
'track.removetag' => 'method_track_removeTag',
'track.getinfo' => 'method_track_getInfo',
'track.gettoptags' => 'method_track_getTopTags',
'track.gettopfans' => 'method_track_getTopFans',
'track.gettags' => 'method_track_getTags',
'track.ban' => 'method_track_ban',
'track.love' => 'method_track_love',
'track.unlove' => 'method_track_unlove',
'track.unban' => 'method_track_unban',
'track.updatenowplaying' => 'method_track_updateNowPlaying',
'track.scrobble' => 'method_track_scrobble',
'chart.gettopartists' => 'method_chart_getTopArtists',
);
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment