From c125cdf268cb985c815e89a574c9d9c30cb3c547 Mon Sep 17 00:00:00 2001 From: KoKsPfLaNzE Date: Sun, 1 Nov 2015 00:37:07 +0100 Subject: [PATCH] PServerAdminStatistic added in readme --- README.md | 2 +- src/PServerCMS/Entity/Repository/User.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 51096c0..ffdf5bb 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/PServerCMS/Entity/Repository/User.php b/src/PServerCMS/Entity/Repository/User.php index 9e7e598..3508d98 100644 --- a/src/PServerCMS/Entity/Repository/User.php +++ b/src/PServerCMS/Entity/Repository/User.php @@ -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]); } @@ -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);