Commit 83cb3c87 authored by alexpott's avatar alexpott

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

parent 4c12d608
......@@ -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 @@ public function testUserLoginBlock() {
$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();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment