From: Aaron Schulz Date: Tue, 26 Jul 2016 10:42:57 +0000 (-0700) Subject: Renamed MWCallableUpdate class file to match the class X-Git-Tag: 1.31.0-rc.0~6266 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22sites_tous%22%29%20.%20%22?a=commitdiff_plain;h=94ab94bd2d12df16966864fd64e6517028e2c2fc;p=lhc%2Fweb%2Fwiklou.git Renamed MWCallableUpdate class file to match the class Change-Id: Ia595cee94a696b83b00fe9f2a91b49bce51c08dd --- diff --git a/autoload.php b/autoload.php index 8c16adf5e4..5808040e41 100644 --- a/autoload.php +++ b/autoload.php @@ -755,7 +755,7 @@ $wgAutoloadLocalClasses = [ 'LonelyPagesPage' => __DIR__ . '/includes/specials/SpecialLonelypages.php', 'LongPagesPage' => __DIR__ . '/includes/specials/SpecialLongpages.php', 'MIMEsearchPage' => __DIR__ . '/includes/specials/SpecialMIMEsearch.php', - 'MWCallableUpdate' => __DIR__ . '/includes/deferred/CallableUpdate.php', + 'MWCallableUpdate' => __DIR__ . '/includes/deferred/MWCallableUpdate.php', 'MWContentSerializationException' => __DIR__ . '/includes/content/ContentHandler.php', 'MWCryptHKDF' => __DIR__ . '/includes/utils/MWCryptHKDF.php', 'MWCryptHash' => __DIR__ . '/includes/utils/MWCryptHash.php', diff --git a/includes/deferred/CallableUpdate.php b/includes/deferred/CallableUpdate.php deleted file mode 100644 index d63c292ba9..0000000000 --- a/includes/deferred/CallableUpdate.php +++ /dev/null @@ -1,28 +0,0 @@ -callback = $callback; - $this->fname = $fname; - } - - public function doUpdate() { - call_user_func( $this->callback ); - } - - public function getOrigin() { - return $this->fname; - } -} diff --git a/includes/deferred/MWCallableUpdate.php b/includes/deferred/MWCallableUpdate.php new file mode 100644 index 0000000000..d63c292ba9 --- /dev/null +++ b/includes/deferred/MWCallableUpdate.php @@ -0,0 +1,28 @@ +callback = $callback; + $this->fname = $fname; + } + + public function doUpdate() { + call_user_func( $this->callback ); + } + + public function getOrigin() { + return $this->fname; + } +}