DROP FUNCTION IF EXISTS account.myUserHasRoleId;

DELIMITER $$
CREATE DEFINER=`root`@`%` FUNCTION `account`.`myUserHasRoleId`(vRoleId INT) RETURNS tinyint(1)
	DETERMINISTIC
BEGIN
/**
 * @deprecated Use myUser_hasRoleId()
 */	
	RETURN myUser_hasRoleId(vRoleId);
END$$
DELIMITER ;

GRANT EXECUTE ON FUNCTION account.myUserHasRoleId TO guest@localhost;
