From 60d7780b1d201005795be39dbc5481d0798c691a Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 23 Jun 2010 22:08:19 +1200 Subject: [PATCH] Rename the event() function to resource() since it might not be an event. --- inc/DAVResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index 97e49635..37bf602f 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -1051,7 +1051,7 @@ EOQRY; /** * Returns the database row for this resource */ - function event() { + function resource() { if ( !isset($this->resource) ) $this->FetchResource(); return $this->resource; }