mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 19:37:12 +00:00
Add row group customization (#1189)
* Add row group customization * fix rowGroup state loading * activate rowGroup for all datatables * add reset button * reload page done on success callback * Review Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
@@ -114,6 +114,11 @@ class UsersService extends BaseService
|
||||
}
|
||||
}
|
||||
|
||||
public function DeleteUserSetting($userId, $settingKey)
|
||||
{
|
||||
$this->getDatabase()->user_settings()->where('user_id = :1 AND key = :2', $userId, $settingKey)->delete();
|
||||
}
|
||||
|
||||
private function UserExists($userId)
|
||||
{
|
||||
$userRow = $this->getDatabase()->users()->where('id = :1', $userId)->fetch();
|
||||
|
Reference in New Issue
Block a user