[Scrutinizer] Fix undeclared variables part 7: mod/ and view/
- Remove unused function `salmon_return()`
This commit is contained in:
parent
2234bb92ae
commit
7a38fbf84b
7 changed files with 14 additions and 21 deletions
|
@ -57,6 +57,7 @@ function subthread_content(App $a) {
|
|||
}
|
||||
}
|
||||
|
||||
$owner = null;
|
||||
// this represents the post owner on this system.
|
||||
|
||||
$r = q("SELECT `contact`.*, `user`.`nickname` FROM `contact` LEFT JOIN `user` ON `contact`.`uid` = `user`.`uid`
|
||||
|
@ -75,6 +76,7 @@ function subthread_content(App $a) {
|
|||
$remote_owner = $owner;
|
||||
|
||||
|
||||
$contact = null;
|
||||
// This represents the person posting
|
||||
|
||||
if ((local_user()) && (local_user() == $owner_uid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue