jenkins-bot has submitted this change and it was merged.

Change subject: Use camel case for variable names in Article.php
......................................................................


Use camel case for variable names in Article.php

Found only one which was not using it.

Change-Id: I92a0268a70db0f741c1b83bb08b20717d4168043
---
M includes/page/Article.php
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  Umherirrender: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/includes/page/Article.php b/includes/page/Article.php
index 436f148..5566db3 100644
--- a/includes/page/Article.php
+++ b/includes/page/Article.php
@@ -1551,9 +1551,9 @@
                $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...

-- 
To view, visit https://gerrit.wikimedia.org/r/151288
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I92a0268a70db0f741c1b83bb08b20717d4168043
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: IAlex <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to