mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11205
This commit is contained in:
parent
be615f6a82
commit
d60d1c6920
|
@ -18,7 +18,7 @@ check_banished($logged_in_user);
|
|||
$forumid = get_int("id");
|
||||
$forum = new Forum($forumid);
|
||||
|
||||
if ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit()){
|
||||
if (!$logged_in_user->isSpecialUser(S_MODERATOR) && ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit())) {
|
||||
//If user haven't got enough credit (according to forum regulations)
|
||||
//We do not tell the (ab)user how much this is - no need to make it easy for them to break the system.
|
||||
error_page(sprintf(tr(FORUM_ERR_EXPAVG),$forum->getTitle()));
|
||||
|
|
|
@ -36,7 +36,7 @@ if ($thread->isHidden()) {
|
|||
"This thread has been hidden for administrative purposes.");
|
||||
}
|
||||
|
||||
if ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit()){
|
||||
if (!$logged_in_user->isSpecialUser(S_MODERATOR) && ($logged_in_user->getTotalCredit()<$forum->getPostMinTotalCredit() || $logged_in_user->getExpavgCredit()<$forum->getPostMinExpavgCredit())) {
|
||||
//If user haven't got enough credit (according to forum regulations)
|
||||
//We do not tell the (ab)user how much this is - no need to make it easy for them to break the system.
|
||||
error_page(
|
||||
|
|
Loading…
Reference in New Issue