예제 #1
0
파일: wordpress.php 프로젝트: grlf/eyedock
 function insertFromAmember(User $user, SavedPass $pass, $groups)
 {
     $record = parent::insertFromAmember($user, $pass, $groups);
     $this->updateMetaTags($record, $user);
     if ($this->getPlugin()->getConfig('simple_press')) {
         $this->updateSimplePress($record);
     }
     if ($this->getPlugin()->getConfig('buddy_press')) {
         $this->updateBuddyPressProfile($record);
         $this->updateBuddyPressGroups($record, $user);
     }
     if ($this->getPlugin()->getConfig('network')) {
         if ($this->getPlugin()->getConfig('network_create_blog')) {
             $this->updateNetworkBlogStatus($record, $user);
         }
         if ($this->getPlugin()->getConfig('network_add_to_blogs')) {
             $this->networkAddToBlogs($record, $user);
         }
     }
     return $record;
 }
예제 #2
0
 function insertFromAmember(User $user, SavedPass $pass, $groups)
 {
     $record = parent::insertFromAmember($user, $pass, $groups);
     $this->updateMetaTags($record, $user);
     return $record;
 }