Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ grep -A 5 -B 5 post.before post.lib.php
- $this->AttachDLCount = 0;
- $this->IP = $_SERVER['REMOTE_ADDR'];
- $this->Hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
- $this->SpamRating = $SpamRating;
- UnbCallHook('post.beforeadd', $this);
- $ok = $this->db->AddRecord(array(
- 'ID' => $this->ID,
- 'Thread' => $this->Thread,
- 'ReplyTo' => $this->ReplyTo,
- --
- $this->EditCount++;
- }
- $this->EditReason = $EditReason; // always store edit reason, but maybe not always show it
- }
- UnbCallHook('post.beforechange', $this);
- $arr = array('Subject' => $this->Subject,
- 'Msg' => $this->Msg,
- 'Options' => $this->Options,
- 'SpamRating' => $this->SpamRating);
Add Comment
Please, Sign In to add comment