Code Duplication    Length = 3-3 lines in 2 locations

admin/includes/class-tgm-plugin-activation.php 2 locations

@@ 1769-1771 (lines=3) @@
1766
1767
			$repo_updates = get_site_transient( 'update_plugins' );
1768
1769
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1770
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1771
			}
1772
1773
			return false;
1774
		}
@@ 1792-1794 (lines=3) @@
1789
1790
			$repo_updates = get_site_transient( 'update_plugins' );
1791
1792
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1793
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1794
			}
1795
1796
			return '';
1797
		}