Fix on_successful_save -> onSuccessfulSave
authorLoïc Blot <loic.blot@unix-experience.fr>
Fri, 4 Jan 2019 10:33:04 +0000 (11:33 +0100)
committerLoïc Blot <loic.blot@unix-experience.fr>
Fri, 4 Jan 2019 10:33:04 +0000 (11:33 +0100)
src/database/database-files.cpp
src/database/database-postgresql.cpp
src/database/database-sqlite3.cpp
src/remoteplayer.cpp
src/remoteplayer.h

index b1c79c94a93fa4776dcad784dee3b3819df786e5..04ff5230a3685f26eb9ff4d4526ee5de089506ec 100644 (file)
@@ -106,7 +106,7 @@ void PlayerDatabaseFiles::savePlayer(RemotePlayer *player)
                infostream << "Failed to write " << path << std::endl;
        }
 
-       player->on_successful_save();
+       player->onSuccessfulSave();
 }
 
 bool PlayerDatabaseFiles::removePlayer(const std::string &name)
index f5f8e3adf9b68cc3eb0920e876e3b7f0086f5466..522580990a54ae33db7c34c3eeff866f7a59eb62 100644 (file)
@@ -529,7 +529,7 @@ void PlayerDatabasePostgreSQL::savePlayer(RemotePlayer *player)
        }
        endSave();
 
-       player->on_successful_save();
+       player->onSuccessfulSave();
 }
 
 bool PlayerDatabasePostgreSQL::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
index 7a79fb1875144ecf1aabc19b0a1fc8a2179a02c6..84d7914039fa824c8ecffa668f8e68895efedb31 100644 (file)
@@ -531,7 +531,7 @@ void PlayerDatabaseSQLite3::savePlayer(RemotePlayer *player)
 
        endSave();
 
-       player->on_successful_save();
+       player->onSuccessfulSave();
 }
 
 bool PlayerDatabaseSQLite3::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
index 18749d5ff0d64e83975d47f95e9294a99655eacf..fa2200e94433c67226193651aeac7afec8eeb6a0 100644 (file)
@@ -224,7 +224,7 @@ const RemotePlayerChatResult RemotePlayer::canSendChatMessage()
        return RPLAYER_CHATRESULT_OK;
 }
 
-void RemotePlayer::on_successful_save()
+void RemotePlayer::onSuccessfulSave()
 {
        setModified(false);
        if (m_sao)
index 212741df8de16aad5e2b5ae711fbc21a6268a845..ea118e6045c599d68e895a6498ab27169eab7f80 100644 (file)
@@ -139,7 +139,7 @@ public:
 
        void setPeerId(session_t peer_id) { m_peer_id = peer_id; }
 
-       void on_successful_save();
+       void onSuccessfulSave();
 
 private:
        /*