aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/WhatsNewController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/WhatsNewController.php')
-rw-r--r--core/Controller/WhatsNewController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Controller/WhatsNewController.php b/core/Controller/WhatsNewController.php
index 86192d8f466..b3bb7becbac 100644
--- a/core/Controller/WhatsNewController.php
+++ b/core/Controller/WhatsNewController.php
@@ -19,6 +19,7 @@ use OCP\IRequest;
use OCP\IUserManager;
use OCP\IUserSession;
use OCP\L10N\IFactory;
+use OCP\PreConditionNotMetException;
use OCP\ServerVersion;
class WhatsNewController extends OCSController {
@@ -88,7 +89,7 @@ class WhatsNewController extends OCSController {
* @param string $version Version to dismiss the changes for
*
* @return DataResponse<Http::STATUS_OK, list<empty>, array{}>
- * @throws \OCP\PreConditionNotMetException
+ * @throws PreConditionNotMetException
* @throws DoesNotExistException
*
* 200: Changes dismissed