Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1789-1791 (lines=3) @@
1786
1787
			$repo_updates = get_site_transient( 'update_plugins' );
1788
1789
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1790
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1791
			}
1792
1793
			return false;
1794
		}
@@ 1812-1814 (lines=3) @@
1809
1810
			$repo_updates = get_site_transient( 'update_plugins' );
1811
1812
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1813
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1814
			}
1815
1816
			return '';
1817
		}