- /**
- * Backwards compatible with jQuery fn
- * @deprecated
- */
- $.fn.crmAPI = function(entity, action, params, options) {
- CRM.console('warn', 'Calling crmAPI from jQuery is deprecated. Please use CRM.api3() instead.');
- return CRM.api.call(this, entity, action, params, options);
- };
-