Update software.php

This commit is contained in:
FusionPBX 2019-11-07 23:18:59 -07:00 committed by GitHub
parent 243ae25e1f
commit f6bb5a7594
1 changed files with 2 additions and 2 deletions

View File

@ -11,14 +11,14 @@ if (!class_exists('software')) {
/** /**
* version * version
*/ */
public function version() { public static function version() {
return '4.5.10'; return '4.5.10';
} }
/** /**
* numeric_version * numeric_version
*/ */
public function numeric_version() { public static function numeric_version() {
$v = explode('.', $this->version()); $v = explode('.', $this->version());
$n = ($v[0] * 10000 + $v[1] * 100 + $v[2]); $n = ($v[0] * 10000 + $v[1] * 100 + $v[2]);
return $n; return $n;