pushHistory에 DB connect가 필요하지 않으므로 인자 제거

This commit is contained in:
2018-03-02 00:05:37 +09:00
parent ae2272b249
commit c0dfd42791
40 changed files with 79 additions and 78 deletions
+4 -4
View File
@@ -37,7 +37,7 @@ function processSpring($connect) {
$admin = MYDB_fetch_array($result);
$history[0] = "<R>★</>{$admin['year']}{$admin['month']}월: <S>모두들 즐거운 게임 하고 계신가요? ^^ <Y>삼국일보</> 애독해 주시고, <M>훼접</>은 삼가주세요~</>";
pushHistory($connect, $history);
pushHistory($history);
}
function processGoldIncome($connect) {
@@ -111,7 +111,7 @@ function processGoldIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>봄이 되어 봉록에 따라 자금이 지급됩니다.";
pushHistory($connect, $history);
pushHistory($history);
pushAdminLog($connect, $adminLog);
}
@@ -405,7 +405,7 @@ function processRiceIncome($connect) {
}
$history[0] = "<C>●</>{$admin['year']}{$admin['month']}월:<W><b>【지급】</b></>가을이 되어 봉록에 따라 군량이 지급됩니다.";
pushHistory($connect, $history);
pushHistory($history);
pushAdminLog($connect, $adminLog);
}
@@ -680,5 +680,5 @@ function disaster($connect) {
}
}
pushHistory($connect, $disaster);
pushHistory($disaster);
}