scripts/database.js
/**
 * Remove a custom route from the database
 * @param {String} startLocation The start location of the route to delete
 * @param {String} endLocation The end location of the route to delete
 */
Remove a custom route from the database
@param {String} startLocation The start location of the route to delete
@param {String} endLocation The end location of the route to delete
Remove a custom route from the database @param { String } startLocation The start location of the route to delete @param { String } endLocation The end location of the route to delete
function removeOldCustomRoutesFromDB(startLocation, endLocation) {
	var routeData = new Object();
	routeData.startLocation = startLocation;
	routeData.endLocation = endLocation;
	var ajaxURL = "php/deleteOldCustomRoute.php";
	var ajaxData = { "routeData" : routeData };
	executeAJAXRequest(ajaxURL, ajaxData, function(returnMsg){});
}
function removeOldCustomRoutesFromDB ( startLocation , endLocation ) { var routeData = new Object ( ) ; routeData . startLocation = startLocation ; routeData . endLocation = endLocation ; var ajaxURL = "php/deleteOldCustomRoute.php" ; var ajaxData = { "routeData" : routeData } ; executeAJAXRequest ( ajaxURL , ajaxData , function ( returnMsg ) { } ) ; }
Remove a custom route from the database
 @param {String} startLocation The start location of the route to delete
 @param {String} endLocation The end location of the route to delete
Remove a custom route from the database @param { String } startLocation The start location of the route to delete @param { String } endLocation The end location of the route to delete