From 098e670a0185a01070763326ca98b26914a001b9 Mon Sep 17 00:00:00 2001
From: shish <shish@7f39781d-f577-437e-ae19-be835c7a54ca>
Date: Mon, 8 Dec 2008 20:40:47 +0000
Subject: [PATCH] backport

git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.2@1123 7f39781d-f577-437e-ae19-be835c7a54ca
---
 core/event.class.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/core/event.class.php b/core/event.class.php
index 2715d6d5..7e070bb4 100644
--- a/core/event.class.php
+++ b/core/event.class.php
@@ -5,6 +5,13 @@
  */
 class Event {
 	var $vetoed = false, $veto_reason = null;
+	var $vetoed = false;
+	var $veto_reason;
+
+	public function veto($reason="") {
+		$this->vetoed = true;
+		$this->veto_reason = $reason;
+	}
 
 	public function veto($reason="") {
 		$this->vetoed = true;