Commit 7db53be1 authored by alexpott's avatar alexpott

Issue #2021491 by fubhy: Fixed UserBCDecorator (hasRole(), addRole(), removeRole()).

parent fb7ad824
......@@ -59,21 +59,21 @@ public function getSessionId() {
* {@inheritdoc}
*/
public function hasRole($rid) {
return $this->getBCEntity()->hasRole($rid);
return $this->decorated->hasRole($rid);
}
/**
* {@inheritdoc}
*/
public function addRole($rid) {
$this->getBCEntity()->addRole($rid);
$this->decorated->addRole($rid);
}
/**
* {@inheritdoc}
*/
public function removeRole($rid) {
$this->getBCEntity()->removeRole($rid);
$this->decorated->removeRole($rid);
}
}
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