Typo/duplicated function (references #718)

This commit is contained in:
Bernd Bestel 2020-04-13 10:41:37 +02:00
parent 42e6a8ef94
commit 1fc802c30e
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -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();