r41492 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41491‎ | r41492 | r41493 >
Date:15:37, 1 October 2008
Author:yaron
Status:old
Tags:
Comment:
'sffGetAllPagesForProperty' renamed to 'sffGetAllValuesForProperty'
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.inc
@@ -17,10 +17,10 @@
1818 $smw_version = SMW_VERSION;
1919 if (version_compare(SMW_VERSION, '1.2', '>=' ) ||
2020 substr($smw_version, 0, 3) == '1.2') { // temporary hack
21 - $names_array = sffGetAllPagesForProperty_1_2($field_name);
 21+ $names_array = sffGetAllValuesForProperty_1_2($field_name);
2222 } else {
2323 $is_relation = ($autocomplete_field_type == 'relation');
24 - $names_array = sffGetAllPagesForProperty_orig($is_relation, $field_name);
 24+ $names_array = sffGetAllValuesForProperty_orig($is_relation, $field_name);
2525 }
2626 } elseif ($autocomplete_field_type == 'category') {
2727 $names_array = sffGetAllPagesForCategory($field_name, 10);

Status & tagging log