removes commented out code

This commit is contained in:
Florent Vilmart
2016-02-16 08:00:00 -05:00
parent e010fd82f2
commit 45bf8ffadb

View File

@@ -55,21 +55,6 @@ export function transformKeyValue(schema, className, restKey, restValue, options
case '_wperm':
return {key: key, value: restValue};
break;
// case 'authData.anonymous.id':
// if (options.query) {
// return {key: '_auth_data_anonymous.id', value: restValue};
// }
// throw new Parse.Error(Parse.Error.INVALID_KEY_NAME,
// 'can only query on ' + key);
// break;
// case 'authData.facebook.id':
// if (options.query) {
// // Special-case auth data.
// return {key: '_auth_data_facebook.id', value: restValue};
// }
// throw new Parse.Error(Parse.Error.INVALID_KEY_NAME,
// 'can only query on ' + key);
// break;
case '$or':
if (!options.query) {
throw new Parse.Error(Parse.Error.INVALID_KEY_NAME,