diff --git a/lib/private/preferences.php b/lib/private/preferences.php
index 1784d3722610ec790edc8b20ced8d275fa0ec97d..cd4a9fd1c19e398af49e0f51eea8e5b1c60fb28b 100644
--- a/lib/private/preferences.php
+++ b/lib/private/preferences.php
@@ -137,12 +137,10 @@ class Preferences {
 	 * @param string $app
 	 * @param string $key
 	 * @param string $value
-	 * @param int|null $limit
-	 * @param int|null $offset
 	 * @return array
 	 * @deprecated use getUsersForUserValue of \OCP\IConfig instead
 	 */
-	public function getUsersForValue($app, $key, $value, $limit = null, $offset = null) {
+	public function getUsersForValue($app, $key, $value) {
 		return $this->config->getUsersForUserValue($app, $key, $value);
 	}