Commit 1e1a5351 authored by Thomas Löffler's avatar Thomas Löffler

Removes workaround in isAdmin method

parent e41ff26c
Pipeline #1948 passed with stages
in 2 minutes and 18 seconds
......@@ -71,10 +71,10 @@ class Role implements \TYPO3\CMS\Core\SingletonInterface
*/
public function isAdmin()
{
return true;
if (empty($this->settings['terAdminGroupUid'])) {
return FALSE;
return false;
}
return $this->hasRole($this->settings['terAdminGroupUid']);
}
......
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