Closed (fixed)
Project:
Audio
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2008 at 11:30 UTC
Updated:
25 Apr 2008 at 03:41 UTC
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
Comment #1
drewish commentedyeah you should be able to drop that without causing any problems.
Comment #2
drewish commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.