remove a print statement

This commit is contained in:
rolux 2012-05-24 11:51:29 +02:00
parent 242f66dc53
commit 018eb899f2

View file

@ -701,25 +701,6 @@ pandora.getMetadataByIdOrName = function(item, view, str, callback) {
}); });
function getId(type, callback) { function getId(type, callback) {
if (type) { if (type) {
Ox.print('getId',
Ox.extend({
query: {
conditions: [{
key: isName ? 'name' : 'id',
value: type != 'annotation' ? str : item + '/' + str,
operator: '=='
}],
operator: '&'
},
keys: type != 'annotation' ? ['id'] : ['id', 'in', 'out'],
range: [0, 1]
}, item && type != 'annotation' ? {
itemQuery: {
conditions: [{key: 'id', value: item, operator: '=='}],
operator: '&'
}
} : {})
);
pandora.api['find' + Ox.toTitleCase(type + 's')](Ox.extend({ pandora.api['find' + Ox.toTitleCase(type + 's')](Ox.extend({
query: { query: {
conditions: [{ conditions: [{