-Wall cleanup
This commit is contained in:
parent
768acb0a3f
commit
fab63ca751
8 changed files with 32 additions and 20 deletions
|
@ -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'] ;
|
||||
|
||||
|
|
|
@ -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()),
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue