diff options
| author | 2018-10-28 09:49:10 +0100 | |
|---|---|---|
| committer | 2018-10-28 09:49:10 +0100 | |
| commit | e04804d0f67dd43fd3f072b9a127768ee7b7b56c (patch) | |
| tree | a49023ed25aab7fb1c1aafe749f7d462de0027b2 /cli/user-info.php | |
| parent | 44bd07e506ade204151c276fdc05994d51efdd7a (diff) | |
| parent | 4234dfe0d72b61fe931d2c76a1d8a335ce65a209 (diff) | |
Merge pull request #2049 from FreshRSS/dev1.12.0
FreshRSS 1.12.0
Diffstat (limited to 'cli/user-info.php')
| -rwxr-xr-x | cli/user-info.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/user-info.php b/cli/user-info.php index 18a415217..043bebf7c 100755 --- a/cli/user-info.php +++ b/cli/user-info.php @@ -16,9 +16,10 @@ foreach ($users as $username) { $username = cliInitUser($username); echo $username === FreshRSS_Context::$system_conf->default_user ? '*' : ' ', "\t"; - $catDAO = new FreshRSS_CategoryDAO(); + $catDAO = FreshRSS_Factory::createCategoryDao(); $feedDAO = FreshRSS_Factory::createFeedDao($username); $entryDAO = FreshRSS_Factory::createEntryDao($username); + $tagDAO = FreshRSS_Factory::createTagDao($username); $databaseDAO = FreshRSS_Factory::createDatabaseDAO($username); $nbEntries = $entryDAO->countUnreadRead(); @@ -34,6 +35,7 @@ foreach ($users as $username) { $nbEntries['read'], " reads\t", $nbEntries['unread'], " unreads\t", $nbFavorites['all'], " favourites\t", + $tagDAO->count(), " tags\t", "\n"; } else { echo @@ -45,6 +47,7 @@ foreach ($users as $username) { $nbEntries['read'], "\t", $nbEntries['unread'], "\t", $nbFavorites['all'], "\t", + $tagDAO->count(), "\t", "\n"; } } |
