Deprecate SqlDataUpdate
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 31 Aug 2016 13:24:12 +0000 (06:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Sep 2016 00:27:24 +0000 (00:27 +0000)
Core subclasses have been updated.

Change-Id: Ic1beebeb7aec2b40d89c75637968e57e71a6c1a2

includes/deferred/SqlDataUpdate.php

index ff06915..c7163ea 100644 (file)
@@ -29,6 +29,8 @@
  *       a transaction will automatically be wrapped around the update. Starting another
  *       one would break the outer transaction bracket. If need be, subclasses can override
  *       the beginTransaction() and commitTransaction() methods.
+ *
+ * @deprecated Since 1.28 Use DataUpdate directly, injecting the database
  */
 abstract class SqlDataUpdate extends DataUpdate {
        /** @var IDatabase Database connection reference */