diff --git a/server/src/main/java/com/thoughtworks/go/server/dao/JobInstanceSqlMapDao.java b/server/src/main/java/com/thoughtworks/go/server/dao/JobInstanceSqlMapDao.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/com/thoughtworks/go/server/dao/JobInstanceSqlMapDao.java
+++ b/server/src/main/java/com/thoughtworks/go/server/dao/JobInstanceSqlMapDao.java
@@ -477,13 +477,6 @@ public class JobInstanceSqlMapDao extends SqlMapClientDaoSupport implements JobI
         return new JobInstances(list);
     }
 
-    public int getNumberOfActiveBuildsOnRemoteAgent(List<String> localAgentIds) {
-        String sqlValue = SqlUtil.joinWithQuotesForSql(localAgentIds.toArray());
-        Integer count = (Integer) getSqlMapClientTemplate().queryForObject("getNumberOfActiveBuildsOnRemoteAgent",
-                arguments("localAgentIds", sqlValue).asMap());
-        return count;
-    }
-
     private void saveTransitions(JobInstance jobInstance) {
         for (JobStateTransition transition : jobInstance.getTransitions()) {
             if (!transition.hasId()) {
Remove unused method

Left behind from <I>e0e1a6ca<I>e<I>b<I>a1cd<I>e6a6b<I>f