public function setMotd($motd) { if (is_object($this->sitedb)) { $sets = new SiteSettings($this->sitedb); return $sets->SetKey('SITE_MOTD', $motd); } return false; }