r24219 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24218‎ | r24219 | r24220 >
Date:22:43, 17 July 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
removed some inactive code
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore.php
@@ -271,25 +271,9 @@
272272 }
273273 }
274274 $db->freeResult($res2);
275 -// $uservalue = ''; /// hack hack hack
276 -// $first = true;
277 -// for ($i=0; $i<count($subtypes); $i++) {
278 -// // if (!array_key_exists($i, $values) {
279 -// // $values[$i] = NULL;
280 -// // }
281 -// if ($first) {
282 -// $first = false;
283 -// } else {
284 -// $uservalue .= ';';
285 -// }
286 -// if (array_key_exists($i, $values)) {
287 -// $uservalue .= $values[$i]->getWikiValue();
288 -// }
289 -// }
290275 $dv = SMWDataValueFactory::newPropertyObjectValue($property);
291276 $dv->setOutputFormat($outputformat);
292277 $dv->setDVs($values);
293 - //$dv->setUserValue($uservalue);
294278 $result[] = $dv;
295279 }
296280 $db->freeResult($res);

Status & tagging log