Remove unnecessary GetSongs accessor from Group object

This commit is contained in:
Crash Cringle
2025-03-03 23:25:32 -08:00
committed by teejusb
parent 13e6aaacb3
commit a7cb3b0264
-8
View File
@@ -211,13 +211,6 @@ public:
return 1;
}
static int GetSongs(T* p, lua_State *L)
{
const std::vector<Song*> &v = p->GetSongs();
LuaHelpers::CreateTableFromArray<Song*>(v, L);
return 1;
}
static int GetBannerPath(T* p, lua_State *L)
{
lua_pushstring(L, p->GetBannerPath());
@@ -252,7 +245,6 @@ public:
ADD_METHOD(GetSeries);
ADD_METHOD(GetSyncOffset);
ADD_METHOD(HasGroupIni);
ADD_METHOD(GetSongs);
ADD_METHOD(GetBannerPath);
ADD_METHOD(GetStepArtistCredits);
ADD_METHOD(GetAuthorsNotes);