Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

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