Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

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