mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-08-26 05:42:05 +00:00
remove unused construction
This commit is contained in:
parent
7dc7c89d9e
commit
dfca5570c6
@ -178,8 +178,7 @@ class MySQL {
|
||||
mixed $timeBanned = null,
|
||||
mixed $httpCode = null,
|
||||
mixed $mime = null,
|
||||
mixed $rank = null,
|
||||
mixed $data = null) {
|
||||
mixed $rank = null) {
|
||||
|
||||
$query = $this->_db->prepare('INSERT INTO `hostImage` ( `hostId`,
|
||||
`crc32uri`,
|
||||
@ -189,10 +188,9 @@ class MySQL {
|
||||
`timeBanned`,
|
||||
`httpCode`,
|
||||
`mime`,
|
||||
`rank`,
|
||||
`data`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)');
|
||||
`rank`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)');
|
||||
|
||||
$query->execute([$hostId, $crc32uri, $uri, $timeAdded, $timeUpdated, $timeBanned, $httpCode, $mime, $rank, $data]);
|
||||
$query->execute([$hostId, $crc32uri, $uri, $timeAdded, $timeUpdated, $timeBanned, $httpCode, $mime, $rank]);
|
||||
|
||||
return $this->_db->lastInsertId();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user