class_mcDeprecated.inc.php 562 Bytes
<?php
/**
 *
 */
class mcDeprecated {
	public static function is($param_deprecated) {
		global $__mc_DEPRECATED;
		global $__mc_DEPRECATED_OUTPUT;

		if($__mc_DEPRECATED < $param_deprecated) {
			if($__mc_DEPRECATED_OUTPUT) {
				D::li('software runs which is @deprecated since '. substr($param_deprecated, 0,4).'-'. substr($param_deprecated, 4,2).'-'. substr($param_deprecated, 6,2).' v('. substr($__mc_DEPRECATED, 0,4).'-'. substr($__mc_DEPRECATED, 4,2).'-'. substr($__mc_DEPRECATED, 6,2).')');
			}
			
			return true;
		} else {
			return false;
		}
	}
}

?>