Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

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