Skip to content

Commit

Permalink
[BUGFIX] Fix non namespaced class usage
Browse files Browse the repository at this point in the history
Resolves: #23
  • Loading branch information
srotsch committed Apr 26, 2016
1 parent 7a0b865 commit 3ed5813
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions Classes/Report/IpGroupAuthenticationStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ protected function analyseUserGroups(&$reports)
$userGroupInfo .= '<thead><tr><th style="padding-bottom: 10px;">User Group</th><th>IP/Range</th></tr></thead>';
$userGroupInfo .= '<tbody>';

// Add user group strings
foreach ($userGroups as $group) {
$uid = $group['uid'];
$ips = implode(', ', $group['tx_aoeipauth_ip']);
Expand All @@ -116,8 +115,7 @@ protected function analyseUserGroups(&$reports)

$userGroupInfo .= '<br /><br />Your current IP is: <strong>' . $this->myIp . '</strong>';

// Inform about the groups
$reports[] = $this->objectManager->get('tx_reports_reports_status_Status',
$reports[] = $this->objectManager->get('TYPO3\\CMS\\Reports\\Status',
'IP Usergroup Authentication',
'Some groups with automatic IP authentication were found.',
$userGroupInfo,
Expand Down
2 changes: 0 additions & 2 deletions Classes/Report/IpUserAuthenticationStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ protected function analyseUses(&$reports)
$userInfo .= '<thead><tr><th style="padding-bottom: 10px;">User</th><th>IP/Range</th></tr></thead>';
$userInfo .= '<tbody>';

// Add user group strings
foreach ($users as $user) {
$uid = $user['uid'];
$ips = implode(', ', $user['tx_aoeipauth_ip']);
Expand All @@ -116,7 +115,6 @@ protected function analyseUses(&$reports)

$userInfo .= '<br /><br />Your current IP is: <strong>' . $this->myIp . '</strong>';

// Inform about the groups
$reports[] = $this->objectManager->get('TYPO3\\CMS\\Reports\\Status',
'IP User Authentication',
'Some users with automatic IP authentication were found.',
Expand Down

0 comments on commit 3ed5813

Please sign in to comment.