Sfoglia il codice sorgente

Update software.php

FusionPBX 5 anni fa
parent
commit
8235bd9718
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;