/**
  *
  * gets the last update, either of the vocabulary or the history
  *
  * @return integer
  */
 public static function getLastUpdateDate($id)
 {
     $vocab = self::retrieveByPK($id);
     if ($vocab) {
         $lastVocabUpdate = $vocab->getLastUpdated(null);
     }
     $lastHistoryUpdate = ConceptPropertyHistoryPeer::getLastUpdateForVocab($id, null);
     $result = max(array($lastHistoryUpdate, $lastVocabUpdate));
     return $result;
 }