summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-12-04 08:11:37 (GMT)
committerwebchick2013-12-04 08:11:37 (GMT)
commita65cbe78a7f8721eb68e685d30a320e0d14e8648 (patch)
tree7d3304a9e5e5bbfaf122386bf683adb1e4107d33
parent84cbbba81f7c8f0328389ef0241a5135c8c0ce5b (diff)
Issue #2080305 by aaronott: Remove Unused local variable from /core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php.
-rw-r--r--core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php b/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
index d58746d..fe087b5 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php
@@ -126,7 +126,6 @@ class FetchTest extends DatabaseTestBase {
* Confirms that we can fetch an entire column of a result set at once.
*/
function testQueryFetchCol() {
- $records = array();
$result = db_query('SELECT name FROM {test} WHERE age > :age', array(':age' => 25));
$column = $result->fetchCol();
$this->assertIdentical(count($column), 3, 'fetchCol() returns the right number of records.');