Add: maestro log DB
This commit is contained in:
@@ -5,6 +5,7 @@ include "./../lib/send_reply_json.php";
|
||||
include "./../setup/connect_db.php";
|
||||
include "./../lib/maestro_account_info.php";
|
||||
include "./../lib/db_maestro.php";
|
||||
include "./../lib/maestro_log.php";
|
||||
include "./../mail/mail_setting.php";
|
||||
include "./../mail/send_mail.php";
|
||||
|
||||
@@ -41,6 +42,7 @@ update_count_registered_player($maestroID, $count);
|
||||
|
||||
$maestro_data = get_maestro_data($maestroID);
|
||||
sendMailRegisterDone($maestro_data["name"], $maestro_data["email"]);
|
||||
insertMaestroLog("register_maestro", $maestroID, $maestro_data["name"]." / ".$maestro_data["email"]);
|
||||
|
||||
send_result_success();
|
||||
exit;
|
||||
|
||||
@@ -4,6 +4,7 @@ header("Content-Type: application/json");
|
||||
include "./../setup/connect_db.php";
|
||||
include "./../lib/send_reply_json.php";
|
||||
include "./../lib/db_maestro.php";
|
||||
include "./../lib/maestro_log.php";
|
||||
include "./../lib/maestro_account_info.php";
|
||||
include "./../mail/mail_setting.php";
|
||||
include "./../mail/send_mail.php";
|
||||
@@ -20,6 +21,7 @@ change_upgrade_request_status_to_applied($maestro_upgrade_id);
|
||||
|
||||
$maestro_data = get_maestro_data($maestro_id);
|
||||
sendMailUpgradeDone($maestro_data["name"], $maestro_data["email"], $registered_account_type, $upgrade_account_type);
|
||||
insertMaestroLog("upgrade_maestro", $maestro_id, $registered_account_type." -> ".$upgrade_account_type);
|
||||
|
||||
// set_data("maestro_upgrade_id", $maestro_upgrade_id);
|
||||
// set_data("maestro_id", $maestro_id);
|
||||
|
||||
Reference in New Issue
Block a user