diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-10-19 10:03:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-28 08:44:05 +0200 |
commit | f8352fcb8dfb5284520396bdc624b6bf62d18219 (patch) | |
tree | 34cc43159586b971e325efd30f6f16b328f607d7 /lib/public/IUserManager.php | |
parent | ad597d498d9298643338df2df0170159b736c12c (diff) | |
download | nextcloud-server-f8352fcb8dfb5284520396bdc624b6bf62d18219.tar.gz nextcloud-server-f8352fcb8dfb5284520396bdc624b6bf62d18219.zip |
introduce callForSeenUsers and countSeenUsers (#26361)
* introduce callForSeenUsers and countSeenUsers
* add tests
* oracle should support not null on clob
* since 9.2.0
Diffstat (limited to 'lib/public/IUserManager.php')
-rw-r--r-- | lib/public/IUserManager.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php index 1e0c298edcf..854622335c8 100644 --- a/lib/public/IUserManager.php +++ b/lib/public/IUserManager.php @@ -145,6 +145,21 @@ interface IUserManager { public function callForAllUsers (\Closure $callback, $search = ''); /** + * returns how many users have logged in once + * + * @return int + * @since 9.2.0 + */ + public function countSeenUsers(); + + /** + * @param \Closure $callback + * @param string $search + * @since 9.2.0 + */ + public function callForSeenUsers (\Closure $callback); + + /** * @param string $email * @return IUser[] * @since 9.1.0 |