Avoid unused local variables

Funnily you introduced this in a "code quality improve commit" (b53efda635), but Codacy complained about it...
This commit is contained in:
rugk 2016-07-18 18:37:18 +02:00 committed by GitHub
parent 6b20836461
commit e70159c1bb

View file

@ -236,7 +236,7 @@ class modelTest extends PHPUnit_Framework_TestCase
$this->assertTrue($store->exists($ids[$key]), "paste $key exists after storing it");
}
$this->_model->purge(10);
foreach ($ids as $key => $id)
foreach ($ids as $key)
{
if (in_array($key, array('x', 'y', 'z')))
{