Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1984-1986 (lines=3) @@
1981
1982
			$repo_updates = get_site_transient( 'update_plugins' );
1983
1984
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1985
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1986
			}
1987
1988
			return false;
1989
		}
@@ 2007-2009 (lines=3) @@
2004
2005
			$repo_updates = get_site_transient( 'update_plugins' );
2006
2007
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
2008
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
2009
			}
2010
2011
			return '';
2012
		}