public function update($args) { //echo $args[0]; //echo ' - ' . $_POST['uploadsPath']; $vo = new SettingsVO(0); $updatedData = array($_POST['siteName'], $_POST['siteDescription'], $_POST['maintenanceMode'], $_POST['uploadsPath'], $_POST['enableUploads'], $_POST['twitterUsername'], $_POST['twitterPassword'], $_POST['enableTwitter'], $_POST['autoTweet']); $this->registry->update->updateData(Types::SETTINGS_TABLE, $args[0], $vo->getTableRowNames(), $updatedData); }