Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1904-1906 (lines=3) @@
1901
1902
			$repo_updates = get_site_transient( 'update_plugins' );
1903
1904
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1905
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1906
			}
1907
1908
			return false;
1909
		}
@@ 1927-1929 (lines=3) @@
1924
1925
			$repo_updates = get_site_transient( 'update_plugins' );
1926
1927
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1928
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1929
			}
1930
1931
			return '';
1932
		}