mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-12 13:21:09 +00:00
delete deprecated method
This commit is contained in:
parent
2b49ff5f6a
commit
e3138faeac
@ -640,17 +640,6 @@ class MySQL {
|
||||
return $query->rowCount();
|
||||
}
|
||||
|
||||
public function deleteHostPageDomsByTimeAdded(int $timeOffset) {
|
||||
|
||||
$this->_debug->query->delete->total++;
|
||||
|
||||
$query = $this->_db->prepare('DELETE FROM `hostPageDom` WHERE `timeAdded` < ' . (int) $timeOffset);
|
||||
|
||||
$query->execute();
|
||||
|
||||
return $query->rowCount();
|
||||
}
|
||||
|
||||
public function truncateHostPageDom() {
|
||||
|
||||
$query = $this->_db->query('TRUNCATE `hostPageDom`');
|
||||
|
Loading…
x
Reference in New Issue
Block a user