How to Package Version Specific Code

sugarcrmdevelopers —  February 8, 2013

Have you ever needed to make changes that are specific to a certain flavor and/or version of SugarCRM? Christian Knoll has a very clever way of dealing with this. In this post we explore how he takes advantage of the sugar_flavor and sugar_version global variables in the manifest.