Skip to content
Snippets Groups Projects
Commit ee095b20 authored by Tibo's avatar Tibo
Browse files

show graphic

parent d2b50340
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ class Ifconfig extends AbstractSensor {
public function points() {
$records = $this->getLastRecords("ifconfig", 289);
usort($records, function($r1, $r2) {
return $r1.time < r2.time ? 1 : -1;
return $r1->time < $r2->time ? 1 : -1;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment