summaryrefslogtreecommitdiffstats
path: root/lib/private/preferences.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preferences.php')
-rw-r--r--lib/private/preferences.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/private/preferences.php b/lib/private/preferences.php
index cdaa207449d..58f75419497 100644
--- a/lib/private/preferences.php
+++ b/lib/private/preferences.php
@@ -68,25 +68,6 @@ class Preferences {
}
/**
- * Get all users using the preferences
- * @return array an array of user ids
- *
- * This function returns a list of all users that have at least one entry
- * in the preferences table.
- */
- public function getUsers() {
- $query = 'SELECT DISTINCT `userid` FROM `*PREFIX*preferences`';
- $result = $this->conn->executeQuery($query);
-
- $users = array();
- while ($userid = $result->fetchColumn()) {
- $users[] = $userid;
- }
-
- return $users;
- }
-
- /**
* @param string $user
* @return array[]
*/
@@ -109,19 +90,6 @@ class Preferences {
}
/**
- * Get all apps of an user
- * @param string $user user
- * @return integer[] with app ids
- *
- * This function returns a list of all apps of the user that have at least
- * one entry in the preferences table.
- */
- public function getApps($user) {
- $data = $this->getUserValues($user);
- return array_keys($data);
- }
-
- /**
* Get the available keys for an app
* @param string $user user
* @param string $app the app we are looking for