focuslabllc / craft-cheat-sheet

A fast and customized set of instantly usable Field code samples.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecation error: getBuild() has been deprecated

SimonEast opened this issue · comments

I noticed I'm now getting the following deprecation warning when running the cheat-sheet:

craft()->getBuild() has been deprecated. As of Craft 2.6.2951, craft()->getVersion() returns the complete version number (X.Y.Z). /home/staging7/public_html/ku/craft/templates/cheatsheet.html

I suspect it's a simple fix to update the template to use getVersion() although I don't think it will be backwards-compatible.

Simon.

@SimonEast This should be all fixed up with the latest release. :)