X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fdeferred%2FSearchUpdate.php;h=84f6fc0eaf6fc4178097fbbd2d6c7d1278bac7ff;hb=fa0f6f34972c0e0f4aac24a03b3efdfc45f256f6;hp=a508746c5545692a90cd695961d9685e1a46ce92;hpb=367bc8f7d19e66dfe2d7a326ccf1fcd3629640b4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/deferred/SearchUpdate.php b/includes/deferred/SearchUpdate.php index a508746c55..84f6fc0eaf 100644 --- a/includes/deferred/SearchUpdate.php +++ b/includes/deferred/SearchUpdate.php @@ -50,7 +50,7 @@ class SearchUpdate implements DeferrableUpdate { */ public function __construct( $id, $title, $c = null ) { if ( is_string( $title ) ) { - wfDeprecated( __METHOD__ . " with a string for the title", 1.34 ); + wfDeprecated( __METHOD__ . " with a string for the title", '1.34' ); $this->title = Title::newFromText( $title ); if ( $this->title === null ) { throw new InvalidArgumentException( "Cannot construct the title: $title" ); @@ -62,10 +62,10 @@ class SearchUpdate implements DeferrableUpdate { $this->id = $id; // is_string() check is back-compat for ApprovedRevs if ( is_string( $c ) ) { - wfDeprecated( __METHOD__ . " with a string for the content", 1.34 ); + wfDeprecated( __METHOD__ . " with a string for the content", '1.34' ); $c = new TextContent( $c ); } elseif ( is_bool( $c ) ) { - wfDeprecated( __METHOD__ . " with a boolean for the content", 1.34 ); + wfDeprecated( __METHOD__ . " with a boolean for the content", '1.34' ); $c = null; } $this->content = $c;