Esempio n. 1
0
 public static function default_group($name)
 {
     if (false !== GWF_Group::getByName($name)) {
         return true;
     }
     $group = new GWF_Group(array('group_name' => $name, 'group_date' => GWF_Time::getDate(GWF_Date::LEN_SECOND)));
     return $group->replace();
 }