requestcontext stuff is messy, go back to globals :(

This commit is contained in:
Shish
2009-05-11 07:04:33 -07:00
parent e592ee4c59
commit bb84a735a2
57 changed files with 407 additions and 477 deletions

View File

@@ -44,7 +44,7 @@ class WikiPage {
public function get_owner() {
global $config;
global $database;
return User::by_id($config, $database, $this->owner_id);
return User::by_id($this->owner_id);
}
public function is_locked() {