1
1
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

@ -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']);