X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryRevisions.php;h=7092fc43d3e78241dcbb2e88ee39c173a1802a6e;hb=87070fc6743bfe5da7b49f07561fc1e0b03897c4;hp=32355b91a9628d663b5cb23f64dd95e49cd18e79;hpb=4b99ac91bc5c509bdda6843ad00aff148820661f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index 32355b91a9..7092fc43d3 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -61,7 +61,7 @@ class ApiQueryRevisions extends ApiQueryRevisionsBase { $this->tokenFunctions = array( 'rollback' => array( 'ApiQueryRevisions', 'getRollbackToken' ) ); - wfRunHooks( 'APIQueryRevisionsTokens', array( &$this->tokenFunctions ) ); + Hooks::run( 'APIQueryRevisionsTokens', array( &$this->tokenFunctions ) ); return $this->tokenFunctions; }