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

Change subject: Found bug where the extension constructor is used
......................................................................


Found bug where the extension constructor is used

*Extension constructor was used for avatars so that the filesystemhelper
was not able to create a the directories


Change-Id: I9373af10603c2aefeccbdf7be8264c465d11a720
---
M Avatars/Avatars.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Avatars/Avatars.class.php b/Avatars/Avatars.class.php
index 7344bbc..1ad495b 100644
--- a/Avatars/Avatars.class.php
+++ b/Avatars/Avatars.class.php
@@ -230,7 +230,7 @@
                                        throw new MWException('FATAL: Avatar 
generator not found!');
                                        break;
                        }
-                       $oStatus = 
BsFileSystemHelper::saveToDataDirectory($sAvatarFileName, $sRawPNGAvatar, 
$this->mInfo[EXTINFO::NAME]);
+                       $oStatus = 
BsFileSystemHelper::saveToDataDirectory($sAvatarFileName, $sRawPNGAvatar, 
'avatars');
                        if (!$oStatus->isGood())
                                throw new MWException('FATAL: Avatar could not 
be saved!');
                        # found no way to regenerate thumbs. just delete thumb 
folder if it exists

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9373af10603c2aefeccbdf7be8264c465d11a720
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Jgoettlich <[email protected]>
Gerrit-Reviewer: Dvogel hallowelt <[email protected]>
Gerrit-Reviewer: Ljonka <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to