diff options
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 3a48e65e3..7d3c010c4 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -535,10 +535,14 @@ class FreshRSS_user_Controller extends Minz_ActionController { $entryDAO = FreshRSS_Factory::createEntryDao($username); $databaseDAO = FreshRSS_Factory::createDatabaseDAO($username); + $userConfiguration = get_user_configuration($username); + return array( 'feed_count' => $feedDAO->count(), 'article_count' => $entryDAO->count(), 'database_size' => $databaseDAO->size(), + 'language' => $userConfiguration->language, + 'mail_login' => $userConfiguration->mail_login, ); } } |
