Remove the deprecated getAlphabetialAlbums method
This commit is contained in:
+2
-2
@@ -1138,9 +1138,9 @@ public class SubsonicRESTController {
|
||||
} else if ("newest".equals(type)) {
|
||||
albums = albumDao.getNewestAlbums(offset, size, musicFolders);
|
||||
} else if ("alphabeticalByArtist".equals(type)) {
|
||||
albums = albumDao.getAlphabetialAlbums(offset, size, true, musicFolders);
|
||||
albums = albumDao.getAlphabeticalAlbums(offset, size, true, false, musicFolders);
|
||||
} else if ("alphabeticalByName".equals(type)) {
|
||||
albums = albumDao.getAlphabetialAlbums(offset, size, false, musicFolders);
|
||||
albums = albumDao.getAlphabeticalAlbums(offset, size, false, false, musicFolders);
|
||||
} else if ("byGenre".equals(type)) {
|
||||
albums = albumDao.getAlbumsByGenre(offset, size, getRequiredStringParameter(request, "genre"), musicFolders);
|
||||
} else if ("byYear".equals(type)) {
|
||||
|
||||
@@ -147,20 +147,6 @@ public class AlbumDao extends AbstractDao {
|
||||
album.setId(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns albums in alphabetical order.
|
||||
*
|
||||
* @param offset Number of albums to skip.
|
||||
* @param count Maximum number of albums to return.
|
||||
* @param byArtist Whether to sort by artist name
|
||||
* @param musicFolders Only return albums from these folders.
|
||||
* @return Albums in alphabetical order.
|
||||
*/
|
||||
@Deprecated
|
||||
public List<Album> getAlphabetialAlbums(final int offset, final int count, boolean byArtist, final List<MusicFolder> musicFolders) {
|
||||
return getAlphabeticalAlbums(offset, count, byArtist, false, musicFolders);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns albums in alphabetical order.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user