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