aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-07-08 15:14:56 +0530
committeryemkareems <yemkareems@gmail.com>2024-07-08 15:42:55 +0530
commit4eba967d63e8445cf98b968c43728c0e2ff8dd3c (patch)
tree0707144d073077c87867c205c61069115f5843b2 /lib/public
parent6ac49e549b2f22cccb35c3c7b02ac1a310536f3d (diff)
downloadnextcloud-server-4eba967d63e8445cf98b968c43728c0e2ff8dd3c.tar.gz
nextcloud-server-4eba967d63e8445cf98b968c43728c0e2ff8dd3c.zip
fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IConfig.php11
-rw-r--r--lib/public/IUserManager.php11
2 files changed, 11 insertions, 11 deletions
diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php
index a2973dbe3ba..b7feabd0ef5 100644
--- a/lib/public/IConfig.php
+++ b/lib/public/IConfig.php
@@ -249,15 +249,4 @@ interface IConfig {
* @since 8.0.0
*/
public function getUsersForUserValue($appName, $key, $value);
-
- /**
- * Gets the list of users sorted by lastLogin, from most recent to least recent
- *
- * @param int|null $limit how many records to fetch
- * @param int $offset from which offset to fetch
- * @param string $search search users based on search params
- * @return list<string> list of user IDs
- * @since 30.0.0
- */
- public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array;
}
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 851b565f617..091ccd89048 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -210,4 +210,15 @@ interface IUserManager {
* @since 26.0.0
*/
public function validateUserId(string $uid, bool $checkDataDirectory = false): void;
+
+ /**
+ * Gets the list of users sorted by lastLogin, from most recent to least recent
+ *
+ * @param int|null $limit how many records to fetch
+ * @param int $offset from which offset to fetch
+ * @param string $search search users based on search params
+ * @return list<string> list of user IDs
+ * @since 30.0.0
+ */
+ public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array;
}