[PATCH] Fix autojoin

Please report bugs here!

Moderator: Thorsten

Post Reply
bram
Posts: 19
Joined: Mon Aug 16, 2010 12:54 pm

[PATCH] Fix autojoin

Post by bram »

Currently it is possible to select 'autoJoin' on a group but I do not see it being used.
There is a function autoJoin in phpmyfaq/inc/PMF_Perm/PermMedium.php but I do not see it being called anyware.

Fixes this by:
- defining a dummy autoJoin function in PermBasic.php
- always calling autoJoin when a User is created


Attached is a patch for this (0004-Fix-autoJoin.patch).
NOTE: this patch was originally written on 2.6.7. It is untested on the git HEAD.
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: [PATCH] Fix autojoin

Post by Thorsten »

Hi,

thanks for the patch, I reviewed it and added to phpMyFAQ 2.6.8.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply