pushHistory를 DB기반으로 변경
This commit is contained in:
@@ -37,7 +37,7 @@ function processSpring($connect) {
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
$history[0] = "<R>★</>{$admin['year']}년 {$admin['month']}월: <S>모두들 즐거운 게임 하고 계신가요? ^^ <Y>삼국일보</> 애독해 주시고, <M>훼접</>은 삼가주세요~</>";
|
||||
pushHistory($history);
|
||||
pushHistory($history, $admin['year'], $admin['month']);
|
||||
}
|
||||
|
||||
function processGoldIncome($connect) {
|
||||
@@ -109,7 +109,7 @@ function processGoldIncome($connect) {
|
||||
}
|
||||
|
||||
$history[0] = "<C>●</>{$admin['year']}년 {$admin['month']}월:<W><b>【지급】</b></>봄이 되어 봉록에 따라 자금이 지급됩니다.";
|
||||
pushHistory($history);
|
||||
pushHistory($history, $admin['year'], $admin['month']);
|
||||
pushAdminLog($adminLog);
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ function processRiceIncome($connect) {
|
||||
}
|
||||
|
||||
$history[0] = "<C>●</>{$admin['year']}년 {$admin['month']}월:<W><b>【지급】</b></>가을이 되어 봉록에 따라 군량이 지급됩니다.";
|
||||
pushHistory($history);
|
||||
pushHistory($history, $admin['year'], $admin['month']);
|
||||
pushAdminLog($adminLog);
|
||||
}
|
||||
|
||||
@@ -676,5 +676,5 @@ function disaster($connect) {
|
||||
}
|
||||
}
|
||||
|
||||
pushHistory($disaster);
|
||||
pushHistory($disaster, $admin['year'], $admin['month']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user