r98243 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98242‎ | r98243 | r98244 >
Date:20:04, 27 September 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
rem debug code
Modified paths:
  • /trunk/extensions/SemanticWatchlist/includes/SWL_PropertyChange.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticWatchlist/includes/SWL_PropertyChange.php
@@ -41,8 +41,7 @@
4242 */
4343 public static function newFromSerialization( SMWDIProperty $property, $oldValue, $newValue ) {
4444 $diType = SMWDataValueFactory::getDataItemId( $property->findPropertyTypeID() );
45 - //var_dump($property);
46 - //if($diType!=7) {throw new Exception();exit;}
 45+
4746 return new self(
4847 is_null( $oldValue ) ? null : SMWDataItem::newFromSerialization( $diType, $oldValue ),
4948 is_null( $newValue ) ? null : SMWDataItem::newFromSerialization( $diType, $newValue )