Remove replicateNoteDbMetaRefs from remoteConfiguration

The replicateNoteDbMetaRefs() method was introduced only on the
master branch of the replication plugin. The pull-replication
stable-3.6 branch was initially created out of master and therefore
contained this unwanted method.

Remove the method and make sure that the re-merge to master becomes
a NOOP.

Also ignore the test shouldReturnBadRequestWhenDeletingAnInvalidProjectName
because it would only work on Gerrit master.

Change-Id: I89066ccfa14db38fe666f34cf0c2a39009c2c75f
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java
index 33cc3e8..aff1266 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/SourceConfiguration.java
@@ -216,9 +216,4 @@
   public int getPushBatchSize() {
     return 0;
   }
-
-  @Override
-  public boolean replicateNoteDbMetaRefs() {
-    return true;
-  }
 }
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java b/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java
index de8a942..a46a721 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/replication/pull/api/ProjectDeletionActionIT.java
@@ -23,6 +23,7 @@
 import com.google.inject.Inject;
 import javax.servlet.http.HttpServletResponse;
 import org.apache.http.client.methods.HttpRequestBase;
+import org.junit.Ignore;
 import org.junit.Test;
 
 public class ProjectDeletionActionIT extends ActionITBase {
@@ -75,6 +76,7 @@
   }
 
   @Test
+  @Ignore("Failing in RestApiServlet: to be enabled again once that is fixed in core")
   public void shouldReturnBadRequestWhenDeletingAnInvalidProjectName() throws Exception {
     url = getURLWithAuthenticationPrefix(INVALID_TEST_PROJECT_NAME);