Skip to content

Commit

Permalink
fix(sqlite): fixes echoTest and deleteDatabase
Browse files Browse the repository at this point in the history
echoTest and deleteDatabase methods belong to the SQLite class, and not the SQLiteObject class

closes #1275
  • Loading branch information
ihadeed committed Mar 28, 2017
1 parent a7854b7 commit 01aece1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/@ionic-native/plugins/sqlite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,6 @@ export class SQLiteObject {
})
abortFromQ(sqlerror): void { }

/**
* @returns {Promise<any>}
*/
@Cordova()
echoTest(): Promise<any> { return; }

/**
* @param first
* @returns {Promise<any>}
*/
@Cordova()
deleteDatabase(first): Promise<any> { return; }

}

/**
Expand Down Expand Up @@ -198,4 +185,17 @@ export class SQLite {
});
}

/**
* @returns {Promise<any>}
*/
@Cordova()
echoTest(): Promise<any> { return; }

/**
* @param first
* @returns {Promise<any>}
*/
@Cordova()
deleteDatabase(first): Promise<any> { return; }

}

0 comments on commit 01aece1

Please sign in to comment.