<?php
namespace ConcreteCoreFeatureCategory;
use Loader;
class GatheringItemCategory extends Category {
public function assignmentIsInUse(ConcreteCoreFeatureAssignmentAssignment $fa) {
$db = Loader::db();
$num = $db->GetOne('select count(gaiID) as total from GatheringItemFeatureAssignments where faID = ?', array($fa->getFeatureAssignmentID()));
return $num > 0;
}
}