Update language files, add de_x_sie, and clean up files
This commit is contained in:
@@ -66,7 +66,7 @@ class listener implements EventSubscriberInterface
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
static public function getSubscribedEvents()
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
return array(
|
||||
'core.user_setup' => 'load_portal_language',
|
||||
@@ -112,13 +112,18 @@ class listener implements EventSubscriberInterface
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
public function add_portal_link()
|
||||
public function add_portal_link($event)
|
||||
{
|
||||
if (!$this->has_portal_access())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ($this->config['board3_show_all_pages'])
|
||||
{
|
||||
$event['display_online_list'] = true;
|
||||
}
|
||||
|
||||
if (strpos($this->controller_helper->get_current_url(), '/portal') === false)
|
||||
{
|
||||
$portal_link = $this->controller_helper->route('board3_portal_controller');
|
||||
|
||||
Reference in New Issue
Block a user