summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-02-09 18:50:55 +0100
committerGitHub <noreply@github.com>2021-02-09 18:50:55 +0100
commitf96f0f6cad011d73846cdf98ed8b0d35b180a2ef (patch)
tree16a682aab0969d580a651b678eb2aae5149948a2
parent4201fb25d3a0249d1f6e322babf10307463b7c31 (diff)
parent3d075c370ae173cabe23ccc901e6c588394c14e4 (diff)
downloadnextcloud-server-f96f0f6cad011d73846cdf98ed8b0d35b180a2ef.tar.gz
nextcloud-server-f96f0f6cad011d73846cdf98ed8b0d35b180a2ef.zip
Merge pull request #25543 from nextcloud/deprecate/idb-events
Deprecate the internal IDBConnection event name constants
-rw-r--r--lib/public/IDBConnection.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php
index 5618e3ec40b..943ad1b8601 100644
--- a/lib/public/IDBConnection.php
+++ b/lib/public/IDBConnection.php
@@ -51,11 +51,34 @@ use OCP\DB\QueryBuilder\IQueryBuilder;
* @since 6.0.0
*/
interface IDBConnection {
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES';
+
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES';
+
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const ADD_MISSING_PRIMARY_KEYS_EVENT = self::class . '::ADD_MISSING_PRIMARY_KEYS';
+
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class . '::CHECK_MISSING_PRIMARY_KEYS';
+
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const ADD_MISSING_COLUMNS_EVENT = self::class . '::ADD_MISSING_COLUMNS';
+
+ /**
+ * @deprecated 22.0.0 this is an internal event
+ */
public const CHECK_MISSING_COLUMNS_EVENT = self::class . '::CHECK_MISSING_COLUMNS';
/**