Rename the event() function to resource() since it might not be an event.

This commit is contained in:
Andrew McMillan 2010-06-23 22:08:19 +12:00
parent 2a18bb3b37
commit 60d7780b1d

View File

@ -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;
}