Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-10-19 11:03:29 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-28 09:44:05 +0300
commitf8352fcb8dfb5284520396bdc624b6bf62d18219 (patch)
tree34cc43159586b971e325efd30f6f16b328f607d7 /lib/public/IUserManager.php
parentad597d498d9298643338df2df0170159b736c12c (diff)
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.php15
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