| 119 | } |
| 120 | |
| 121 | void |
| 122 | Instance::OnDatabaseModified() noexcept |
| 123 | { |
| 124 | assert(database != nullptr); |
| 125 | |
| 126 | /* propagate the change to all subsystems */ |
| 127 | |
| 128 | stats_invalidate(); |
| 129 | |
| 130 | for (auto &partition : partitions) |
| 131 | partition.DatabaseModified(*database); |
| 132 | |
| 133 | #ifdef ENABLE_SQLITE |
| 134 | if (sticker_database) |
| 135 | StartStickerCleanup(); |
| 136 | #endif |
| 137 | } |
| 138 | |
| 139 | void |
| 140 | Instance::OnDatabaseSongRemoved(const char *uri) noexcept |
no test coverage detected