Jaxel
Well-known member
I am using the following code in XenPorta to check for pre-installed versions.
How would I find similar data for the current version of XenForo?
Code:
public static function installCode($existingAddOn, $addOnData)
{
if ($existingAddOn['version_id'] < 50)
{
throw new XenForo_Exception('Old version found and must be uninstalled first', true);
}
}
How would I find similar data for the current version of XenForo?