From 23818fbd8819cef9c4926d137e3efb047b38d2c5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 2 Aug 2014 15:32:45 +0200 Subject: [PATCH] Use camel case for variable names in Article.php Found only one which was not using it. Change-Id: I92a0268a70db0f741c1b83bb08b20717d4168043 --- includes/page/Article.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/page/Article.php b/includes/page/Article.php index 436f148984..5566db367f 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1551,9 +1551,9 @@ class Article implements Page { $user = $this->getContext()->getUser(); # Check permissions - $permission_errors = $title->getUserPermissionsErrors( 'delete', $user ); - if ( count( $permission_errors ) ) { - throw new PermissionsError( 'delete', $permission_errors ); + $permissionErrors = $title->getUserPermissionsErrors( 'delete', $user ); + if ( count( $permissionErrors ) ) { + throw new PermissionsError( 'delete', $permissionErrors ); } # Read-only check... -- 2.20.1