getLatestVersion() public static method

Returns the latest available version number. Does not perform a check whether a later version is available.
public static getLatestVersion ( ) : false | string
return false | string
Exemplo n.º 1
0
 private function getLatestVersion()
 {
     return UpdateCheck::getLatestVersion();
 }
Exemplo n.º 2
0
 private function getLatestVersion()
 {
     $version = UpdateCheck::getLatestVersion();
     if (!empty($version)) {
         $version = trim($version);
     }
     return $version;
 }