1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh

This commit is contained in:
Jan Steemann 2014-05-22 13:14:36 +02:00
commit c8340f94ac
1 changed files with 3 additions and 1 deletions

View File

@ -581,7 +581,9 @@ var checkIfMayBeDropped = function(colName, graphName, graphs) {
var from = edgeDefinition.from;
var to = edgeDefinition.to;
var collection = edgeDefinition.collection;
if (collection === colName || from.indexOf(colName) !== -1 || to.indexOf(colName) !== -1) {
if (collection === colName ||
from.indexOf(colName) !== -1 ||
to.indexOf(colName) !== -1) {
result = false;
}
}