Merge pull request #7 from belomaxorka/fixed-deprecated-method-cpu_idle
Fixed deprecated in system.php line 1081
This commit is contained in:
commit
e30e4039bf
|
@ -1078,7 +1078,7 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
public static function cpu_idle($pros_stat = array(), $unit, $fcpu = false, $ctrl = false)
|
||||
public static function cpu_idle($pros_stat = array(), $unit = false, $fcpu = false, $ctrl = false)
|
||||
{
|
||||
return sys::cpu_get_idle(sys::parse_cpu($pros_stat[0]), sys::parse_cpu($pros_stat[1]), $unit, $fcpu, $ctrl);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue