snipe-it/app/Observers
Martin Meredith f403db274a (develop) Fix asset auto-incrementation (#6806)
* Fix auto-increment not updating

This is due to the addition of caching for settings.  If we're not
explicitly saving the Settings model, then the cache isn't getting
updated, causing the asset tag auto-increment to get an old cached
version with the wrong number

* Move Setting cache clear to an observer
2019-03-13 10:58:35 -07:00
..
AccessoryObserver.php Removed incrementer from non-asset event listeners 2017-08-23 13:59:59 -07:00
AssetObserver.php (develop) Fix asset auto-incrementation (#6806) 2019-03-13 10:58:35 -07:00
ComponentObserver.php Removed incrementer from non-asset event listeners 2017-08-23 13:59:59 -07:00
ConsumableObserver.php Removed incrementer from non-asset event listeners 2017-08-23 13:59:59 -07:00
LicenseObserver.php Removed incrementer from non-asset event listeners 2017-08-23 13:59:59 -07:00
SettingObserver.php (develop) Fix asset auto-incrementation (#6806) 2019-03-13 10:58:35 -07:00