From 90e9dbca82fe1db77616ba669e2aa96c0b47ca54 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 11 Nov 2016 09:28:49 -0500 Subject: Remove database save and related commands/config --- include/anope.h | 4 ---- include/event.h | 11 ----------- 2 files changed, 15 deletions(-) (limited to 'include') diff --git a/include/anope.h b/include/anope.h index dbaebd573..192ad271c 100644 --- a/include/anope.h +++ b/include/anope.h @@ -434,10 +434,6 @@ namespace Anope */ extern void Init(int ac, char **av); - /** Calls the save database event - */ - extern CoreExport void SaveDatabases(); - /** Check whether two strings match. * @param str The string to check against the pattern (e.g. foobar) * @param mask The pattern to check (e.g. foo*bar) diff --git a/include/event.h b/include/event.h index b71eef738..fcc292aea 100644 --- a/include/event.h +++ b/include/event.h @@ -292,17 +292,6 @@ namespace Event virtual void OnPostCommand(CommandSource &source, Command *command, const std::vector ¶ms) anope_abstract; }; - struct CoreExport SaveDatabase : Events - { - static constexpr const char *NAME = "savedatabase"; - - using Events::Events; - - /** Called when the databases are saved - */ - virtual void OnSaveDatabase() anope_abstract; - }; - struct CoreExport LoadDatabase : Events { static constexpr const char *NAME = "loaddatabase"; -- cgit