public static function isNewestVersionAvailable()
    {
        $latestVersion = self::getLatestVersion();
        if (!empty($latestVersion)
            && version_compare(Version::VERSION, $latestVersion) == -1
        ) {
            return $latestVersion;
        }
        return false;
    }
public static function isNewestVersionAvailable()
    {
        $latestVersion = self::getLatestVersion();
        if (!empty($latestVersion)
            && version_compare(Version::VERSION, $latestVersion) == -1
        ) {
            return $latestVersion;
        }
        return false;
    }
public static function isNewestVersionAvailable ( ) { $ latestVersion = self :: getLatestVersion ( ) ; if ( ! empty ( $ latestVersion ) && version_compare ( Version :: VERSION , $ latestVersion ) == - 1 ) { return $ latestVersion ; } return false ; }
Returns version number of a newer Piwik release.

@return string|bool  false if current version is the latest available,
or the latest version number if a newest release is available
Returns version number of a newer Piwik release .