From 1fc802c30ed8f2a33f858054402927c736454087 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Mon, 13 Apr 2020 10:41:37 +0200 Subject: [PATCH] Typo/duplicated function (references #718) --- services/UsersService.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/services/UsersService.php b/services/UsersService.php index 3f08e4a6..14810db0 100644 --- a/services/UsersService.php +++ b/services/UsersService.php @@ -50,19 +50,6 @@ class UsersService extends BaseService return $returnUsers; } - public function GetUserSettinsg($userId) - { - $settingRow = $this->getDatabase()->user_settings()->where('user_id = :1 AND key = :2', $userId, $settingKey)->fetch(); - if ($settingRow !== null) - { - return $settingRow->value; - } - else - { - return null; - } - } - public function GetUserSetting($userId, $settingKey) { $settingRow = $this->getDatabase()->user_settings()->where('user_id = :1 AND key = :2', $userId, $settingKey)->fetch();