XH 1.7: Remove some PHP < 5.3 related fallbacks

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

XH 1.7: Remove some PHP < 5.3 related fallbacks

Post by cmb » Sat Feb 28, 2015 2:57 pm

Hello Community,

I've made a very quick review of the codebase with regard to PHP < 5.3 related fallbacks/workarounds, and propose this patch.

The removal of XH_getStreamContents() doesn't seem to be a problem, because I suppose nobody is using it anyway (except myself once in Coco_XH; I can easily change that). Removing XH_renameFile() might be a bigger deal (I remember to have it recommended), so I suggest we stick with it to not break the public API, and to deprecate it for CMSimple_XH 1.8 [sic!].
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: XH 1.7: Remove some PHP < 5.3 related fallbacks

Post by cmb » Mon Mar 23, 2015 12:29 pm

Done (r1523).
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply