Skip to content

Commit

Permalink
MDL-32018 mod_wiki: Fixed up whitespace after peer-review
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Apr 2, 2012
1 parent 3cb30ad commit aea6ab8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mod/wiki/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand All @@ -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'])) {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit aea6ab8

Please sign in to comment.