X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Frevisiondelete%2FRevDelItem.php;h=b114c7520c3aebc0f4ca3c12c377be9f8741cb0c;hb=db710685dd65afe0cbe522463b255a66d0d2b712;hp=dba368d8490013f1510aaf4404ee97b5c7fef881;hpb=4161843d87160470cf485c9cd816fb8472a293dc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/revisiondelete/RevDelItem.php b/includes/revisiondelete/RevDelItem.php index dba368d849..b114c7520c 100644 --- a/includes/revisiondelete/RevDelItem.php +++ b/includes/revisiondelete/RevDelItem.php @@ -61,4 +61,22 @@ abstract class RevDelItem extends RevisionItemBase { * @return array Data for the API result */ abstract public function getApiData( ApiResult $result ); + + /** + * Lock the item against changes outside of the DB + * @return Status + * @since 1.28 + */ + public function lock() { + return Status::newGood(); + } + + /** + * Unlock the item against changes outside of the DB + * @return Status + * @since 1.28 + */ + public function unlock() { + return Status::newGood(); + } }