mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Update software.php
This commit is contained in:
@@ -11,14 +11,14 @@ if (!class_exists('software')) {
|
||||
/**
|
||||
* version
|
||||
*/
|
||||
public function version() {
|
||||
public static function version() {
|
||||
return '4.5.10';
|
||||
}
|
||||
|
||||
/**
|
||||
* numeric_version
|
||||
*/
|
||||
public function numeric_version() {
|
||||
public static function numeric_version() {
|
||||
$v = explode('.', $this->version());
|
||||
$n = ($v[0] * 10000 + $v[1] * 100 + $v[2]);
|
||||
return $n;
|
||||
|
||||
Reference in New Issue
Block a user