Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SqlStubSemanticData.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | |
88 | 88 | foreach ( $this->mStubPropVals[$property->getKey()] as $dbkeys ) { |
89 | 89 | try { |
90 | | - $di = SMWCompatibilityHelpers::dataItemFromDBKeys( $property->findPropertyTypeID(), $dbkeys, $property ); |
| 90 | + $di = SMWCompatibilityHelpers::dataItemFromDBKeys( $property->findPropertyTypeID(), $dbkeys ); |
91 | 91 | if ( $this->mNoDuplicates ) { |
92 | 92 | $this->mPropVals[$property->getKey()][$di->getHash()] = $di; |
93 | 93 | } else { |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_CompatibilityHelpers.php |
— | — | @@ -29,11 +29,10 @@ |
30 | 30 | * |
31 | 31 | * @param $typeid string id for the given type |
32 | 32 | * @param $dbkeys array of mixed |
33 | | - * @param $diProperty mixed SMWDIProperty or null, the property for which this value is built, currently needed for records |
34 | 33 | * |
35 | 34 | * @return SMWDataItem |
36 | 35 | */ |
37 | | - static public function dataItemFromDBKeys( $typeid, $dbkeys, $diProperty = null ) { |
| 36 | + static public function dataItemFromDBKeys( $typeid, $dbkeys ) { |
38 | 37 | switch ( SMWDataValueFactory::getDataItemId( $typeid ) ) { |
39 | 38 | case SMWDataItem::TYPE_ERROR: case SMWDataItem::TYPE_NOTYPE: |
40 | 39 | break; |