[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
|
@ -114,7 +114,10 @@ function wall_upload_post(App $a, $desktopmode = true) {
|
|||
killme();
|
||||
}
|
||||
|
||||
$src = "";
|
||||
$src = '';
|
||||
$filename = '';
|
||||
$filesize = 0;
|
||||
$filetype = '';
|
||||
if (x($_FILES, 'userfile')) {
|
||||
$src = $_FILES['userfile']['tmp_name'];
|
||||
$filename = basename($_FILES['userfile']['name']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue