Преглед изворни кода

Remove unused getDocOpsLength method

James Allen пре 10 година
родитељ
комит
ea8f4a6d7a
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      services/document-updater/app/coffee/RedisManager.coffee

+ 0 - 3
services/document-updater/app/coffee/RedisManager.coffee

@@ -151,8 +151,5 @@ module.exports = RedisManager =
 			[length, _] = results
 			[length, _] = results
 			callback(error, length)
 			callback(error, length)
 
 
-	getDocOpsLength: (doc_id, callback = (error, length) ->) ->
-		rclient.llen keys.docOps(doc_id: doc_id), callback
-
 	getDocIdsInProject: (project_id, callback = (error, doc_ids) ->) ->
 	getDocIdsInProject: (project_id, callback = (error, doc_ids) ->) ->
 		rclient.smembers keys.docsInProject(project_id: project_id), callback
 		rclient.smembers keys.docsInProject(project_id: project_id), callback