Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1808-1810 (lines=3) @@
1805
1806
			$repo_updates = get_site_transient( 'update_plugins' );
1807
1808
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1809
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1810
			}
1811
1812
			return false;
1813
		}
@@ 1831-1833 (lines=3) @@
1828
1829
			$repo_updates = get_site_transient( 'update_plugins' );
1830
1831
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1832
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1833
			}
1834
1835
			return '';
1836
		}