summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-11-11 09:28:49 -0500
committerAdam <Adam@anope.org>2016-11-11 09:29:45 -0500
commit90e9dbca82fe1db77616ba669e2aa96c0b47ca54 (patch)
tree612c0677a9278072ae163c9631187855bd91b1f5 /include
parentbe17c8118762c7c928239a026359e4fa0fd36f00 (diff)
Remove database save and related commands/config
Diffstat (limited to 'include')
-rw-r--r--include/anope.h4
-rw-r--r--include/event.h11
2 files changed, 0 insertions, 15 deletions
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<Anope::string> &params) 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";