Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1811-1813 (lines=3) @@
1808
1809
			$repo_updates = get_site_transient( 'update_plugins' );
1810
1811
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1812
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1813
			}
1814
1815
			return false;
1816
		}
@@ 1834-1836 (lines=3) @@
1831
1832
			$repo_updates = get_site_transient( 'update_plugins' );
1833
1834
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1835
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1836
			}
1837
1838
			return '';
1839
		}