From ffed67680e03ba7b8676ef9e51866c7ff47ae9a5 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 3 Jan 2016 22:35:55 +0000 Subject: MirLua: let's remove old api function names git-svn-id: http://svn.miranda-ng.org/main/trunk@16016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_database.cpp | 7 ------- plugins/MirLua/src/m_protocols.cpp | 4 ---- 2 files changed, 11 deletions(-) diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp index 85561e8845..a8d0a04388 100644 --- a/plugins/MirLua/src/m_database.cpp +++ b/plugins/MirLua/src/m_database.cpp @@ -395,7 +395,6 @@ static luaL_Reg databaseApi[] = { { "FindFirstContact", lua_FindFirstContact }, { "FindNextContact", lua_FindNextContact }, - { "AllContacts", lua_Contacts }, { "Contacts", lua_Contacts }, { "GetEventCount", lua_GetEventCount }, @@ -404,20 +403,14 @@ static luaL_Reg databaseApi[] = { "GetPrevEvent", lua_GetPrevEvent }, { "GetNextEvent", lua_GetNextEvent }, { "GetLastEvent", lua_GetLastEvent }, - { "AllEvents", lua_Events }, { "Events", lua_Events }, - { "AllEventsFromEnd", lua_EventsFromEnd }, { "EventsFromEnd", lua_EventsFromEnd }, - { "WriteContactSetting", lua_WriteSetting }, { "WriteSetting", lua_WriteSetting }, - { "GetContactSetting", lua_GetSetting }, { "GetSetting", lua_GetSetting }, - { "AllSettings", lua_Settings }, { "Settings", lua_Settings }, - { "DeleteContactSetting", lua_DeleteSetting }, { "DeleteSetting", lua_DeleteSetting }, { "DeleteModule", lua_DeleteModule }, diff --git a/plugins/MirLua/src/m_protocols.cpp b/plugins/MirLua/src/m_protocols.cpp index 4492c23232..2f6f5af836 100644 --- a/plugins/MirLua/src/m_protocols.cpp +++ b/plugins/MirLua/src/m_protocols.cpp @@ -140,15 +140,11 @@ INT_PTR FilterRecvMessage(WPARAM wParam, LPARAM lParam) static luaL_Reg protocolsApi[] = { - { "GetProto", lua_GetProtocol }, { "GetProtocol", lua_GetProtocol }, - { "AllProtos", lua_Protocols }, - { "AllProtocols", lua_Protocols }, { "Protocols", lua_Protocols }, { "CallService", lua_CallService }, { "GetAccount", lua_GetAccount }, - { "AllAccounts", lua_Accounts }, { "Accounts", lua_Accounts }, { NULL, NULL } -- cgit v1.2.3