Fixed error: Call to undefined method t3lib_div::int_from_ver in 6.0.

Check existance of method before comparing version.