mirror of
https://github.com/nextcloud/server.git
synced 2026-06-16 12:10:35 -04:00
Previously, if an app failed during its enabling process, it could leave the instance in a broken state. This was because the app was marked as enabled before its initialization code was executed, but the state was not rolled back upon failure. This change wraps the app enabling logic in a try/catch block. If the app's initialization fails, the 'enabled' state is reverted in the database, and the in-memory app cache is cleared. This ensures that a faulty app cannot take down the entire Nextcloud instance. Signed-off-by: nfebe <fenn25.fn@gmail.com> |
||
|---|---|---|
| .. | ||
| composer | ||
| l10n | ||
| private | ||
| public | ||
| unstable | ||
| base.php | ||
| versioncheck.php | ||