sumocoders / AC-Webhooks

A module that enabled you to use web hooks in Active Collab 3.x
Other
7 stars 7 forks source link

In AC 4.2 it sends up with error #1

Open vik0803 opened 10 years ago

vik0803 commented 10 years ago

Hello,

It seems to be really interesting to use the webhooks and as it is module for ac 3 so do we have any chance to update it for ac 4.2

AC 4.2 is ended up with error You are trying to use a method that is not implemented - DataManager::getDefaultOrderBy()

Thanks

vik0803 commented 10 years ago

seems to me that problem is coming from

function findByEventname($event) { if(empty($event)) { return null; } // if

  $conditions = array();
  $conditions[] = 'event = ' . DB::escape($event);

  $object = DataManager::find(array(
    'conditions' => implode(' AND ', $conditions),
    'one' => true
  ), TABLE_PREFIX . 'webhooks',