-Wall cleanup

This commit is contained in:
Mike Macgirvin 2010-10-30 13:25:37 -07:00
commit fab63ca751
8 changed files with 32 additions and 20 deletions

View file

@ -173,7 +173,7 @@ function network_content(&$a, $update = 0) {
$comment = '';
$template = $tpl;
$commentww = '';
$owner_url = $owner_photo = $owner_name = '';
$profile_url = $item['url'];
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;

View file

@ -25,7 +25,7 @@ function ping_init(&$a) {
);
$intro = $r[0]['total'];
$myurl = $a->get_baseurl() . '/profile/' . $user['nickname'] ;
$myurl = $a->get_baseurl() . '/profile/' . $a->user['nickname'] ;
$r = q("SELECT COUNT(*) AS `total` FROM `mail`
WHERE `uid` = %d AND `seen` = 0 AND `from-url` != '%s' ",
intval(local_user()),

View file

@ -85,7 +85,7 @@ function profile_content(&$a, $update = 0) {
$groups = array();
$tab = 'posts';
$o = '';
if($update) {
// Ensure we've got a profile owner if updating.
@ -256,7 +256,6 @@ function profile_content(&$a, $update = 0) {
);
$cmnt_tpl = load_view_file('view/comment_item.tpl');
$like_tpl = load_view_file('view/like.tpl');