mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2024-11-16 14:05:09 -05:00
removed unused code
This commit is contained in:
parent
42225eac36
commit
c3a7894788
@ -170,13 +170,6 @@
|
|||||||
if(!transaction_queue[trans_id])
|
if(!transaction_queue[trans_id])
|
||||||
transaction_queue[trans_id] = [];
|
transaction_queue[trans_id] = [];
|
||||||
transaction_queue[trans_id].push(new_query);
|
transaction_queue[trans_id].push(new_query);
|
||||||
if (this.__submitted)
|
|
||||||
{
|
|
||||||
console.log("SQLitePluginTransaction.prototype.add_to_transaction ---- transacted submitted already, senting to cordova");
|
|
||||||
PhoneGap.exec(null, null, "SQLitePlugin", "addToExisingTransaction", [new_query]);
|
|
||||||
//"Transaction already submitted"
|
|
||||||
//we need to add this query to the transaction we already submitted to cordova
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SQLitePluginTransaction.prototype.executeSql = function(sql, values, success, error) {
|
SQLitePluginTransaction.prototype.executeSql = function(sql, values, success, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user