Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 129-135 (lines=7) @@
126
		 *
127
		 * @return mixed
128
		 */
129
		public function update_notices( $messages ) {
130
			if ( ! empty( $_GET['tab'] ) && 'import' === give_clean( $_GET['tab'] ) ) {
131
				unset( $messages['give-setting-updated'] );
132
			}
133
134
			return $messages;
135
		}
136
137
		/**
138
		 * Print submit and nonce button.

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

@@ 131-137 (lines=7) @@
128
		 *
129
		 * @return mixed
130
		 */
131
		public function update_notices( $messages ) {
132
			if ( ! empty( $_GET['tab'] ) && 'import' === give_clean( $_GET['tab'] ) ) {
133
				unset( $messages['give-setting-updated'] );
134
			}
135
136
			return $messages;
137
		}
138
139
		/**
140
		 * Print submit and nonce button.