Code Duplication    Length = 3-3 lines in 2 locations

class-tgm-plugin-activation.php 2 locations

@@ 1898-1900 (lines=3) @@
1895
1896
			$repo_updates = get_site_transient( 'update_plugins' );
1897
1898
			if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) {
1899
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version;
1900
			}
1901
1902
			return false;
1903
		}
@@ 1921-1923 (lines=3) @@
1918
1919
			$repo_updates = get_site_transient( 'update_plugins' );
1920
1921
			if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) {
1922
				return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice;
1923
			}
1924
1925
			return '';
1926
		}