aboutsummaryrefslogtreecommitdiff
path: root/src/database/database.h
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-07 17:50:52 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-07 17:50:52 +0100
commit6e4d8de10442eecf71ba36ad015872a135a53338 (patch)
tree7d8ccc917c4dd86d33d6c0428e18d87e3c15d003 /src/database/database.h
parentdc6318b84aa8c079330b2adc711113f7d4b55961 (diff)
downloadminetest-6e4d8de10442eecf71ba36ad015872a135a53338.tar.gz
minetest-6e4d8de10442eecf71ba36ad015872a135a53338.tar.bz2
minetest-6e4d8de10442eecf71ba36ad015872a135a53338.zip
Revert "Verify database connection on interval (#9665)"
Fixes #10113 This reverts commit 5c588f89e79e02cba392abe3d00688772321f88b.
Diffstat (limited to 'src/database/database.h')
-rw-r--r--src/database/database.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/database/database.h b/src/database/database.h
index 47605a07e..b7d551935 100644
--- a/src/database/database.h
+++ b/src/database/database.h
@@ -32,7 +32,6 @@ public:
virtual void beginSave() = 0;
virtual void endSave() = 0;
virtual bool initialized() const { return true; }
- virtual void pingDatabase() {}
};
class MapDatabase : public Database
@@ -58,8 +57,6 @@ class PlayerDatabase
public:
virtual ~PlayerDatabase() = default;
- virtual void pingDatabase() {}
-
virtual void savePlayer(RemotePlayer *player) = 0;
virtual bool loadPlayer(RemotePlayer *player, PlayerSAO *sao) = 0;
virtual bool removePlayer(const std::string &name) = 0;
@@ -86,5 +83,4 @@ public:
virtual bool deleteAuth(const std::string &name) = 0;
virtual void listNames(std::vector<std::string> &res) = 0;
virtual void reload() = 0;
- virtual void pingDatabase() {}
};