コード例 #1
0
ファイル: Controller.php プロジェクト: rcrrich/cunity
 /**
  * @param $user
  * @return mixed|void
  */
 public static function onUnregister($user)
 {
     parent::onUnregister($user);
     $walls = new Walls();
     $walls->deleteWallByOwner($user->userid, "profile");
 }
コード例 #2
0
ファイル: Controller.php プロジェクト: rcrrich/cunity
 /**
  * @param $user
  * @return mixed|void
  */
 public static function onUnregister($user)
 {
     parent::onUnregister($user);
     $albums = new Models\Db\Table\GalleryAlbums();
     $albums->deleteAlbumsByUser($user->userid);
 }
コード例 #3
0
ファイル: Controller.php プロジェクト: rcrrich/cunity
 /**
  * @param $user
  * @return mixed|void
  */
 public static function onUnregister($user)
 {
     parent::onUnregister($user);
     $searchindex = new Models\Process();
     $searchindex->removeUser($user->username);
 }