You are here

function _user_relationships_compare_oldest_first in User Relationships 5

sort relationships by date in ascending order

File

./user_relationships_actions.inc, line 278

Code

function _user_relationships_compare_oldest_first($r1, $r2) {
  return strcmp($r1->updated_at, $r2->updated_at);
}