Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1949-1951 (lines=3) @@
1946
1947
			$repo_updates = get_site_transient( 'update_plugins' );
1948
1949
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1950
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1951
			}
1952
1953
			return false;
1954
		}
@@ 1972-1974 (lines=3) @@
1969
1970
			$repo_updates = get_site_transient( 'update_plugins' );
1971
1972
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1973
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1974
			}
1975
1976
			return '';
1977
		}