* Copyright (C) 2011, StatusNet, Inc.
*
* Show a single event
- *
+ *
* PHP version 5
*
* This program is free software: you can redistribute it and/or modify
{
$this->id = $this->trimmed('id');
- $this->event = Happening::staticGet('id', $this->id);
+ $this->event = Happening::getKV('id', $this->id);
if (empty($this->event)) {
// TRANS: Client exception thrown when referring to a non-existing event.