DROP FUNCTION IF EXISTS account.myUserHasRole;

DELIMITER $$
CREATE DEFINER=`root`@`%` FUNCTION `account`.`myUserHasRole`(vRoleName VARCHAR(255)) RETURNS tinyint(1)
	DETERMINISTIC
BEGIN
/**
 * @deprecated Use myUser_hasRole()
 */	
	RETURN myUser_hasRole(vRoleName);
END$$
DELIMITER ;

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