Code Duplication    Length = 7-7 lines in 2 locations

includes/admin/tools/import/class-give-import-core-settings.php 1 location

@@ 138-144 (lines=7) @@
135
		 *
136
		 * @return mixed
137
		 */
138
		public function update_notices( $messages ) {
139
			if ( ! empty( $_GET['tab'] ) && 'import' === give_clean( $_GET['tab'] ) ) {
140
				unset( $messages['give-setting-updated'] );
141
			}
142
143
			return $messages;
144
		}
145
146
		/**
147
		 * Print submit and nonce button.

includes/admin/tools/import/class-give-import-donations.php 1 location

@@ 140-146 (lines=7) @@
137
		 *
138
		 * @return mixed
139
		 */
140
		public function update_notices( $messages ) {
141
			if ( ! empty( $_GET['tab'] ) && 'import' === give_clean( $_GET['tab'] ) ) {
142
				unset( $messages['give-setting-updated'] );
143
			}
144
145
			return $messages;
146
		}
147
148
		/**
149
		 * Print submit and nonce button.