| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [locations] Cleanup Location class | Simon Rettberg | 2025-07-07 | 1 | -2/+2 |
| | | | | | | | | | | | There was a mess of functions which mostly, but not quite, did the same things. Get rid of a couple of them and fix call sites to use alternative ones that also fit the job. While at it, add phpdoc and comments to the remaining functions, trying to clarify what they were designed for. Lastly, the return type of functions that retrieve a location id has been changed from false|int to ?int (nullable types are just nicer). | ||||
| * | Moderize Database handling | Simon Rettberg | 2021-05-11 | 1 | -1/+1 |
| | | | | | | | | * Auto-convert to utf8mb4_unicode_520_ci * Use foreach instead of while to loop over results * Drop useless statement caching * Keep emulated prepares, as we sometimes loop over nested queries | ||||
| * | [locations] Add warnings/cleanup for bad machine to roomplan mappings | Simon Rettberg | 2019-07-31 | 1 | -0/+3 |
| | | |||||
| * | [statistics/locations] Add locationid constraints; update on delete | Simon Rettberg | 2019-04-03 | 1 | -7/+20 |
| | | | | | | We didn't update subnetlocationid when deleting a location, leading to machines pointing to invalid locations. | ||||
| * | [statistics/locations] Update/set subnetlocationid field in DB if the DB has ↵ | Simon Rettberg | 2017-01-11 | 1 | -0/+35 |
| been updated | |||||
