Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

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