fix: [dashboard] removed training example left in the code

- restricted new module to only 3 user IDs
pull/7037/head v2.4.139
iglocska 2021-02-16 11:36:11 +01:00
parent 8a46933641
commit 6fd2c4807a
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 0 additions and 7 deletions

View File

@ -85,11 +85,4 @@ class EventStreamWidget
'fields' => $fields
];
}
public function checkpermissions($user) {
if (in_array($user['id'], [1, 2, 3])) {
return true;
}
return false;
}
}