Hi Asad,
You are right, that procedure script should never have been in the mojoportal-core scripts, I must have made a mistake putting it there. It seems strange because version 2.2.9.0 is a long time ago and I would have expected it to cause an error during new installation when it creates that procedure because the webstore tables don't even exist yet. I guess somehow it did not cause an error since I've never seen one and no-one has reported any error about that.
I will move that out of the core 2.2.9.0 and into the Webstore 0.0.4.5 script.
Thanks,
Joe