mirror of
https://github.com/grocy/grocy.git
synced 2025-10-13 00:54:38 +00:00
Squashed commit
Always execute migration 9999 (can be used to fix things manually) Optimized meal plan navigation / date range filtering Prepared next release Pulled translations from Transifex Various code optimizations
This commit is contained in:
@@ -97,7 +97,6 @@ class UsersService extends BaseService
|
||||
public function SetUserSetting($userId, $settingKey, $settingValue)
|
||||
{
|
||||
$settingRow = $this->getDatabase()->user_settings()->where('user_id = :1 AND key = :2', $userId, $settingKey)->fetch();
|
||||
|
||||
if ($settingRow !== null)
|
||||
{
|
||||
$settingRow->update([
|
||||
|
Reference in New Issue
Block a user