Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
@ -26,4 +26,5 @@ class ViewOwnTrackerAccessCheck implements AccessInterface {
|
|||
public function access(AccountInterface $account, UserInterface $user) {
|
||||
return AccessResult::allowedIf($user && $account->isAuthenticated() && ($user->id() == $account->id()))->cachePerUser();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,4 +16,5 @@ class TrackerPage extends ControllerBase {
|
|||
module_load_include('inc', 'tracker', 'tracker.pages');
|
||||
return tracker_page();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,4 +17,5 @@ class TrackerUserRecent extends ControllerBase {
|
|||
module_load_include('inc', 'tracker', 'tracker.pages');
|
||||
return tracker_page($user);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -24,4 +24,5 @@ class TrackerUserTab extends ControllerBase {
|
|||
public function getTitle(UserInterface $user) {
|
||||
return $user->getUsername();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -71,4 +71,5 @@ class TrackerNodeAccessTest extends WebTestBase {
|
|||
$this->assertNoText($private_node->getTitle(), 'Private node is not visible to user without private access.');
|
||||
$this->assertText($public_node->getTitle(), 'Public node is visible to user without private access.');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in a new issue