プライバシーの為
このコミットが含まれているのは:
コミット
2a5e5de330
|
@ -41,13 +41,15 @@ class Prayer extends Engine {
|
|||
|
||||
$res->kvcomment = array();
|
||||
$kvslug = explode('/', $res->kerotube);
|
||||
if (isset($kvslug[5])) {
|
||||
$res->kvcomment = $this->getPeerCome($kvslug[5], '');
|
||||
if (isset($kvslug[5]) && $kvslug[3] == 'videos') {
|
||||
DB::table('vid_video')->where('vid', $res->vid)->update(['kerotube' => 'https://video.076.ne.jp/w/'.$kvslug[5]]);
|
||||
$kvslug = explode('/', $res->kerotube);
|
||||
}
|
||||
if (isset($kvslug[4])) {
|
||||
$res->kvcomment = $this->getPeerCome($kvslug[4], '');
|
||||
}
|
||||
|
||||
if ($res->ytcomment) $res->ytcomment = $this->backupYTComment($slugger, $res->ytcomment);
|
||||
$res->nicocomment = array();
|
||||
$res->bccomment = array();
|
||||
$res->lbcomment = array();
|
||||
if ($res->kvcomment) $res->kvcomment = $this->backupPeerComment($slugger, $res->kvcomment);
|
||||
|
||||
|
@ -64,15 +66,8 @@ class Prayer extends Engine {
|
|||
$c->avatar = $det['avatar'];
|
||||
}
|
||||
|
||||
if ($c->isShadow == 0) {
|
||||
if (getIp() != $c->ipaddress) unset($comments[$k]);
|
||||
}
|
||||
else {
|
||||
unset($c->email);
|
||||
unset($c->ipaddress);
|
||||
unset($c->isShadow);
|
||||
$c->created = date('Y年m月d日 H:i:s', $c->created);
|
||||
}
|
||||
unset($c->email);
|
||||
$c->created = date('Y年m月d日 H:i:s', $c->created);
|
||||
}
|
||||
|
||||
$res->user = userDetail(null, (isset($_COOKIE['kero_token']) ? $_COOKIE['kero_token'] : ''));
|
||||
|
|
新しいイシューから参照