Fixed namespace.

This commit is contained in:
Dirk Jahnke 2016-10-04 17:39:48 +02:00
parent 2e5fa1fd8e
commit ea8045191d
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<?php
namespace Jahnke\DiscourseSso\Controller;
namespace Jahnke\DjDiscourseSso\Controller;
/***************************************************************
* Copyright notice
@ -77,7 +77,7 @@ class SsoController extends ActionController
*/
public function authenticateAction()
{
$extKey = 'dj_discourse_sso';
$extKey = $_EXTKEY; //'dj_discourse_sso';
/** @var \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility */
$extensionConfiguration = $this->configurationUtility->getCurrentConfiguration($extKey);

View File

@ -5,4 +5,4 @@ if (defined('TYPO3_MODE') === false) {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Jahnke.'.$_EXTKEY, 'Sso', 'Discourse SSO Authentication');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Discourse SSO');
// \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Discourse SSO');