开发者

PyroCMS module upgrade logic

开发者 https://www.devze.com 2023-02-04 13:03 出处:网络
I am working on v.5 my PyroCMS poll module. I am wondering about the best way to deal with users looki开发者_如何学Cng to upgrade from v.4 of the module. In the details.php file there is an upgrade me

I am working on v.5 my PyroCMS poll module. I am wondering about the best way to deal with users looki开发者_如何学Cng to upgrade from v.4 of the module. In the details.php file there is an upgrade method, however I don't think it ever gets called. Does this upgrade check have yet to be developed, or am I just totally missing it?


Dang, you're right the upgrade code is not finished at all. This may well be a v1.1.0 change as so far only install/uninstall is using it. I'd just put a README or UPGRADE file in the root with some upgrade SQL.

0

精彩评论

暂无评论...
验证码 换一张
取 消