Skip to content

Commit

Permalink
PServerAdminStatistic added in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kokspflanze committed Oct 31, 2015
1 parent 8418cb5 commit c125cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ php composer.phar require kokspflanze/p-server-cms
```

Then add `ZfcTwig`, `ZfcBase`, `ZfcDatagrid`, `DoctrineModule`, `DoctrineORMModule`, `PDODblibModule`, `BjyAuthorize`, `GameBackend`, `ZfcTicketSystem`,
`ZfcBBCode`, `SanCaptcha`, `PaymentAPI`, `SmallUser`, `PServerCMS`, `PServerAdmin`, `PServerRanking`, `PServerPanel` and `PServerCLI`
`ZfcBBCode`, `SanCaptcha`, `PaymentAPI`, `SmallUser`, `PServerCMS`, `PServerAdmin`, `PServerAdminStatistic`, `PServerRanking`, `PServerPanel` and `PServerCLI`
to your `config/application.config.php` and create directory
`data/cache`, `data/PaymentAPI`, `data/DoctrineORMModule`, `data/ZfcDatagrid` and make sure your application has write access to it.

Expand Down
4 changes: 2 additions & 2 deletions src/PServerCMS/Entity/Repository/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class User extends \SmallUser\Entity\Repository\User
*
* @return null|UserInterface
*/
public function getUser4UserName( $username )
public function getUser4UserName($username)
{
return $this->findOneBy(['username' => $username]);
}
Expand All @@ -23,7 +23,7 @@ public function getUser4UserName( $username )
*
* @return bool|null null for user not exists and bool for roles exists or not
*/
public function isUserValid4UserName( $username )
public function isUserValid4UserName($username)
{
$result = false;
$user = $this->getUser4UserName($username);
Expand Down

0 comments on commit c125cdf

Please sign in to comment.