ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12373


Ignore:
Timestamp:
Jul 23, 2009, 10:11:10 PM (11 years ago)
Author:
ShogoKawahara
Message:

#4017:fixed Community::getRegisterPoricy() for see not "public_flag" but "register_poricy" (3.0.x)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/branches/STABLE/3.0.x/lib/model/Community.php

    r11971 r12373  
    144144  public function getRegisterPoricy()
    145145  {
    146     $public_flag = $this->getConfig('public_flag');
    147     if ('public' === $public_flag)
     146    $register_poricy = $this->getConfig('register_poricy');
     147    if ('open' === $register_poricy)
    148148    {
    149149      return 'Everyone can join';
    150150    }
    151     else if ('auth_commu_member' === $public_flag)
     151    else if ('close' === $register_poricy)
    152152    {
    153153      return 'Community\'s admin authorization needed';
Note: See TracChangeset for help on using the changeset viewer.