Browse Source

delete deprecated method

main
ghost 1 year ago
parent
commit
e3138faeac
  1. 11
      src/library/mysql.php

11
src/library/mysql.php

@ -640,17 +640,6 @@ class MySQL {
return $query->rowCount(); 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() { public function truncateHostPageDom() {
$query = $this->_db->query('TRUNCATE `hostPageDom`'); $query = $this->_db->query('TRUNCATE `hostPageDom`');

Loading…
Cancel
Save