Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 2020-2022 (lines=3) @@
2017
2018
			$repo_updates = get_site_transient( 'update_plugins' );
2019
2020
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
2021
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
2022
			}
2023
2024
			return false;
2025
		}
@@ 2043-2045 (lines=3) @@
2040
2041
			$repo_updates = get_site_transient( 'update_plugins' );
2042
2043
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
2044
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
2045
			}
2046
2047
			return '';
2048
		}