Browse Source

Update software.php

FusionPBX 5 years ago
parent
commit
8235bd9718
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/software/resources/classes/software.php

+ 2 - 2
core/software/resources/classes/software.php

@@ -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;