Hi Ed,
You are right that is a bug. I'll fix it in the upgrade script for the next release. That particular procedure and others related to it are actually no longer used in any features included with mojoPortal. They were used in the MyPage feature which was removed in version 2.3.8.1 as discussed in the bottom section of Using the MyPage Feature. It was a feature based on ASP.NET WebParts but WebParts never really caught on so we finally deprecated it and moved it into a separate download.
Thanks,
Joe