mysite_demote_link

Definition

mysite_demote_link($uid, $mid)
mysite.module, line 2762

Description

Format a link to remove content from a MySite page.

Parameters

$uid The user id of the MySite page owner. Set to NULL for error checking.

$mid The MySite id from {mysite_data}

Code

function mysite_demote_link($uid, $mid) {
  $link = "mysite/$uid/promote/$mid/0";
  return $link;
}