]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
Remove unused code in mod/
[friendica.git] / mod / wall_upload.php
index d1fb918bfe124bf69c2848e1f0e9c229227eaa69..ea06b1d1c1a2deefb5e3c48f1c3777e9cb54a19c 100644 (file)
@@ -272,8 +272,6 @@ function wall_upload_post(App $a, $desktopmode = true)
                }
        }
 
-       $basename = basename($filename);
-
        if (!$desktopmode) {
                $r = q("SELECT `id`, `datasize`, `width`, `height`, `type` FROM `photo`
                        WHERE `resource-id` = '%s'