 -- Procedures
 --
 DROP PROCEDURE IF EXISTS `FixLastPostID`$$
-CREATE DEFINER=`mgreenhill`@`%` PROCEDURE `FixLastPostID`()
+CREATE DEFINER=`travis`@`%` PROCEDURE `FixLastPostID`()
 BEGIN
 DECLARE done INT DEFAULT 0;
 DECLARE temp_post_id INT;

END$$

DROP PROCEDURE IF EXISTS `newscounters`$$
CREATE DEFINER=`mgreenhill`@`%` PROCEDURE `newscounters`()
BEGIN
UPDATE nuke_stories SET weeklycounter = 0;
END$$

DROP PROCEDURE IF EXISTS `PopulateLocoClass`$$
CREATE DEFINER=`mgreenhill`@`%` PROCEDURE `PopulateLocoClass`(IN loco_number VARCHAR(8), IN loco_number_last VARCHAR(8), IN loco_class_id INT, IN loco_gauge_id INT, IN loco_status_id INT, IN loco_manufacturer_id INT, IN prefix TEXT)
BEGIN

simple_loop: LOOP

END$$

DROP PROCEDURE IF EXISTS `latlngphotos`$$
CREATE DEFINER=`travis`@`%` PROCEDURE `latlngphotos`(IN lat double, IN lon double, IN dist int, IN max int)
BEGIN

DECLARE lon1 float;
