From b772dbe8f31d2dc2321c448314dbdc3a9509e81e Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Thu, 29 Aug 2013 08:23:29 -0700 Subject: [PATCH] Issue #2072561 by legolasbo: Remove Unused local variable () from /core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php. --- core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php b/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php index 6246e5d43405..f600ea4c5fd4 100644 --- a/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php +++ b/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php @@ -80,7 +80,6 @@ function testNormal() { file_test_reset(); // Upload a second file. - $max_fid_before = db_query('SELECT MAX(fid) AS fid FROM {file_managed}')->fetchField(); $image2 = current($this->drupalGetTestFiles('image')); $edit = array('files[file_test_upload]' => drupal_realpath($image2->uri)); $this->drupalPost('file-test/upload', $edit, t('Submit')); -- GitLab