Issue #3106215 by Hardik_Patel_12: Unused private method updateAccess()

merge-requests/2419/head
Alex Pott 2020-02-10 14:15:30 +00:00
parent 4c12d60851
commit 83cb3c87d0
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 0 additions and 11 deletions

View File

@ -3,7 +3,6 @@
namespace Drupal\Tests\user\Functional;
use Drupal\Core\Url;
use Drupal\Core\Database\Database;
use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber;
use Drupal\Tests\BrowserTestBase;
@ -128,14 +127,4 @@ class UserBlocksTest extends BrowserTestBase {
$this->assertNoText(t('Unrecognized username or password. Forgot your password?'));
}
/**
* Updates the access column for a user.
*/
private function updateAccess($uid, $access = REQUEST_TIME) {
Database::getConnection()->update('users_field_data')
->condition('uid', $uid)
->fields(['access' => $access])
->execute();
}
}