Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1945-1947 (lines=3) @@
1942
1943
			$repo_updates = get_site_transient( 'update_plugins' );
1944
1945
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1946
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1947
			}
1948
1949
			return false;
1950
		}
@@ 1968-1970 (lines=3) @@
1965
1966
			$repo_updates = get_site_transient( 'update_plugins' );
1967
1968
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1969
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1970
			}
1971
1972
			return '';
1973
		}