replaced mysqli_result::close() by ::free()

This commit is contained in:
Steffen Schröder
2014-05-18 23:34:47 +02:00
parent a6d9753cee
commit cb5ad4e077
7 changed files with 13 additions and 14 deletions

View File

@ -124,7 +124,7 @@ class StatisticManager {
while ($row = $result->fetch_object()) {
$this->stats[$row->name] = $row;
}
$result->close();
$result->free();
// TODO: own model class
@ -208,7 +208,7 @@ class StatisticManager {
}
arsort($stats);
$result->close();
$result->free();
return $stats;
}
@ -488,7 +488,7 @@ class StatisticManager {
$row = $result->fetch_object();
$result->close();
$result->free();
return $row->value;
}