summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/lib/Controller')
-rw-r--r--apps/provisioning_api/lib/Controller/AUserData.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php
index e9855eebe91..909f3dcca74 100644
--- a/apps/provisioning_api/lib/Controller/AUserData.php
+++ b/apps/provisioning_api/lib/Controller/AUserData.php
@@ -277,6 +277,8 @@ abstract class AUserData extends OCSController {
'exception' => $e,
]
);
+ /* In case the Exception left things in a bad state */
+ \OC_Util::tearDownFS();
return [];
}
return $data;