@@ 136-139 (lines=4) @@ | ||
133 | */ |
|
134 | public function removevote() |
|
135 | { |
|
136 | if ($this->data['idea_status'] === ext::$statuses['IMPLEMENTED'] || $this->data['idea_status'] === ext::$statuses['DUPLICATE'] || !check_link_hash($this->get_hash(), "removevote_{$this->data['idea_id']}")) |
|
137 | { |
|
138 | return false; |
|
139 | } |
|
140 | ||
141 | if ($this->auth->acl_get('f_vote', (int) $this->config['ideas_forum_id'])) |
|
142 | { |
|
@@ 233-236 (lines=4) @@ | ||
230 | { |
|
231 | $vote = $this->request->variable('v', 1); |
|
232 | ||
233 | if ($this->data['idea_status'] === ext::$statuses['IMPLEMENTED'] || $this->data['idea_status'] === ext::$statuses['DUPLICATE'] || !check_link_hash($this->get_hash(), "vote_{$this->data['idea_id']}")) |
|
234 | { |
|
235 | return false; |
|
236 | } |
|
237 | ||
238 | if ($this->auth->acl_get('f_vote', (int) $this->config['ideas_forum_id'])) |
|
239 | { |