Andrew Bogott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/64061
Change subject: Clean up a couple of bad calls to printDebug().
......................................................................
Clean up a couple of bad calls to printDebug().
Also removed reference to an obsolete variable in
getNextIdNumber()
Change-Id: Iecf42ca8f055457b542a26cf85839019bb2fb136
---
M nova/OpenStackNovaUser.php
1 file changed, 3 insertions(+), 4 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OpenStackManager
refs/changes/61/64061/1
diff --git a/nova/OpenStackNovaUser.php b/nova/OpenStackNovaUser.php
index 0ac054c..e93fc55 100644
--- a/nova/OpenStackNovaUser.php
+++ b/nova/OpenStackNovaUser.php
@@ -372,7 +372,6 @@
* @static
* @param $auth
* @param $attr
- * @param $projectDN (optional)
* @return mixed|string
*/
static function getNextIdNumber( $auth, $attr ) {
@@ -410,7 +409,7 @@
$auth->printDebug( "Failed to get a result searching
for next $attr", NONSENSITIVE );
}
- if ( $projectDN && $highest >
$wgOpenStackManagerIdRanges['service']['gid']['max']) {
+ if ( $highest >
$wgOpenStackManagerIdRanges['service']['gid']['max']) {
$auth->printDebug( "Ran out of service group gids!",
NONSENSITIVE );
}
@@ -428,14 +427,14 @@
*/
static function RequestShellAccess( $auth, $username ) {
- $auth->printDebug( "Autogenerating shell access request for " .
$username );
+ $auth->printDebug( "Autogenerating shell access request for " .
$username, NONSENSITIVE );
$titletext = "Shell_Request/" . $username;
$title = Title::newFromText( $titletext );
$article = WikiPage::factory( $title );
if ( $article->exists() ) {
- $auth->printDebug( "shell request for " . $username . "
already exists." );
+ $auth->printDebug( "shell request for " . $username . "
already exists.", NONSENSITIVE );
return false;
}
--
To view, visit https://gerrit.wikimedia.org/r/64061
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iecf42ca8f055457b542a26cf85839019bb2fb136
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OpenStackManager
Gerrit-Branch: master
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits