aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard/Service
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-05-27 09:10:40 +0200
committerJulius Härtl <jus@bitgrid.net>2020-07-15 09:24:51 +0200
commit544fcdb549381f233dbfd9ca57cf6e7afb490104 (patch)
tree3f97719183cb8bff8a9eaf22999c05e9de98f33e /lib/public/Dashboard/Service
parent673d70dfc5ac5cab63bda1c0d0d5d7a21bf420e9 (diff)
downloadnextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.tar.gz
nextcloud-server-544fcdb549381f233dbfd9ca57cf6e7afb490104.zip
Deprecate old dashboard API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public/Dashboard/Service')
-rw-r--r--lib/public/Dashboard/Service/IEventsService.php4
-rw-r--r--lib/public/Dashboard/Service/IWidgetsService.php2
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Dashboard/Service/IEventsService.php b/lib/public/Dashboard/Service/IEventsService.php
index f79d1a28e5a..0e5931878e9 100644
--- a/lib/public/Dashboard/Service/IEventsService.php
+++ b/lib/public/Dashboard/Service/IEventsService.php
@@ -35,6 +35,7 @@ use OCP\Dashboard\IDashboardManager;
* are used by the IDashboardManager when creating push event.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Service
*/
@@ -47,6 +48,7 @@ interface IEventsService {
* @see IDashboardManager::createUsersEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $users
@@ -62,6 +64,7 @@ interface IEventsService {
* @see IDashboardManager::createGroupsEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $groups
@@ -77,6 +80,7 @@ interface IEventsService {
* @see IDashboardManager::createGlobalEvent
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param array $payload
diff --git a/lib/public/Dashboard/Service/IWidgetsService.php b/lib/public/Dashboard/Service/IWidgetsService.php
index dea20489e13..059d91a6661 100644
--- a/lib/public/Dashboard/Service/IWidgetsService.php
+++ b/lib/public/Dashboard/Service/IWidgetsService.php
@@ -36,6 +36,7 @@ use OCP\Dashboard\Model\IWidgetConfig;
* configuration of a widget for a user.
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @package OCP\Dashboard\Service
*/
@@ -45,6 +46,7 @@ interface IWidgetsService {
* Returns the IWidgetConfig for a widgetId and userId
*
* @since 15.0.0
+ * @deprecated 20.0.0
*
* @param string $widgetId
* @param string $userId