Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

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