}
}
- function update($orig=null)
+ function update($dataObject=false)
{
- if (is_object($orig)) {
- $orig->decache(); # might be different keys
+ if (is_object($dataObject)) {
+ $dataObject->decache(); # might be different keys
}
- return parent::update($orig);
+ return parent::update($dataObject);
}
/**
return $result;
}
- function delete()
+ function delete($useWhere=false)
{
$this->decache(); # while we still have the values!
- return parent::delete();
+ return parent::delete($useWhere);
}
/**
*/
function getTags()
{
- $result = Status_network_tag::getTags($this->site_id);
-
- // XXX : for backwards compatibility
- if (empty($result)) {
- return explode('|', $this->tags);
- }
-
- return $result;
+ return Status_network_tag::getTags($this->site_id);
}
/**