I'd like ot remove this for the profile page. Can I just remove the function or will this mess something up later on?

function audio_user($op, &$edit, &$user, $category = NULL) {
if ($op == 'view') {
$result = db_query(db_rewrite_sql("SELECT COUNT(*) FROM {node} n WHERE n.type = 'audio' AND n.uid = %d AND n.status$
if (db_result($result) > 0) {
$items['audio'] = array(
'title' => t('Audio'),
'value' => l(t("Listen to @username's recent audio files", array('@username' => $user->name)), 'audio/user/'. $$
'class' => 'audio',
);
return array(t('History') => $items);
}
}
}

Comments

drewish’s picture

yeah you should be able to drop that without causing any problems.

drewish’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.