Permalink
Browse files

MDL-32018 mod_wiki: Fixed up whitespace after peer-review

  • Loading branch information...
1 parent 2ab3134 commit 00568190ce0398a2024f20fae059d0b7054a24e4 Sam Hemelryk committed Mar 28, 2012
Showing with 4 additions and 5 deletions.
  1. +0 −1 mod/wiki/create.php
  2. +4 −4 mod/wiki/edit_form.php
View
@@ -78,7 +78,6 @@
$wikipage->set_uid($uid);
}
-
$wikipage->set_title($title);
// set page action, and initialise moodle form
View
@@ -41,7 +41,7 @@ protected function definition() {
$mform = $this->_form;
$version = $this->_customdata['version'];
- $format = $this->_customdata['format'];
+ $format = $this->_customdata['format'];
$pagetitle = $this->_customdata['pagetitle'];
if (empty($this->_customdata['contextid'])) {
@@ -50,9 +50,9 @@ protected function definition() {
// after the release of 2.3 (not creating an issue because this whole thing should be reviewed)
debugging('You must always provide mod_wiki_edit_form with a contextid in its custom data', DEBUG_DEVELOPER);
global $PAGE;
- $contextid = $PAGE->context->id;
+ $contextid = $PAGE->context->id;
} else {
- $contextid = $this->_customdata['contextid'];
+ $contextid = $this->_customdata['contextid'];
}
if (isset($this->_customdata['pagetitle'])) {
@@ -100,7 +100,7 @@ protected function definition() {
$mform->setType('contentformat', PARAM_ALPHANUMEXT);
if (!empty($CFG->usetags)) {
- $tags = !isset($this->_customdata['tags'])?"":$this->_customdata['tags'];
+ $tags = !isset($this->_customdata['tags'])?"":$this->_customdata['tags'];
$mform->addElement('header', 'tagshdr', get_string('tags', 'tag'));
$mform->addElement('tags', 'tags', get_string('tags'));
$mform->setDefault('tags', $tags);

0 comments on commit 0056819

Please sign in to comment.