r23616 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23615‎ | r23616 | r23617 >
Date:19:40, 1 July 2007
Author:kim
Status:old
Tags:
Comment:
"Helping" debugging code removed.
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/RecordHelper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/RecordHelper.php
@@ -6,7 +6,6 @@
77 $type=$record->getType();
88 if (empty($type))
99 return null;
10 - echo "HELPING $type .... ";
1110 switch($type) {
1211 case "definition":
1312 return new DefinitionHelper($record);
@@ -66,6 +65,10 @@
6766 public function setSaved($saved) {
6867 $this->saved=$saved;
6968 }
 69+
 70+ public function getRecord() {
 71+ return $record;
 72+ }
7073
7174 # should probably be abstract. Making non-abstract
7275 # to save me from tearing my hair out while worrying about
@@ -122,6 +125,7 @@
123126
124127 public function getSaveSQL($dc="uw") {
125128 $dc=wdGetDataSetContext($dc);
 129+
126130 }
127131 }
128132

Status & tagging log