1
0
Fork 0

[Scrutinizer] Fix undeclared variables part 7: mod/ and view/

- Remove unused function `salmon_return()`
This commit is contained in:
Hypolite Petovan 2018-02-14 00:07:26 -05:00
commit 7a38fbf84b
7 changed files with 14 additions and 21 deletions

View file

@ -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)) {