summaryrefslogtreecommitdiff
path: root/includes/actions/EditAction.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/actions/EditAction.php')
-rw-r--r--includes/actions/EditAction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/actions/EditAction.php b/includes/actions/EditAction.php
index 88767244..6c8440ac 100644
--- a/includes/actions/EditAction.php
+++ b/includes/actions/EditAction.php
@@ -51,7 +51,7 @@ class EditAction extends FormlessAction {
$page = $this->page;
$user = $this->getUser();
- if ( wfRunHooks( 'CustomEditor', array( $page, $user ) ) ) {
+ if ( Hooks::run( 'CustomEditor', array( $page, $user ) ) ) {
$editor = new EditPage( $page );
$editor->edit();
}