# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.class.php +++ administrator/components/com_comprofiler/plugin.class.php @@ -1105,6 +1105,30 @@ function prepareFieldDataNotSaved( &$field, &$user, &$postdata, $reason ) { } /** + * Mutator: + * Prepares field data commit + * Override + * + * @param moscomprofilerFields $field + * @param moscomprofilerUser $user RETURNED populated: touch only variables related to saving this field (also when not validating for showing re-edit) + * @param array $postdata Typically $_POST (but not necessarily), filtering required. + * @param string $reason 'edit' for save user edit, 'register' for save registration + */ + function commitFieldDataSave( &$field, &$user, &$postdata, $reason ) { + } + /** + * Mutator: + * Prepares field data rollback + * Override + * + * @param moscomprofilerFields $field + * @param moscomprofilerUser $user RETURNED populated: touch only variables related to saving this field (also when not validating for showing re-edit) + * @param array $postdata Typically $_POST (but not necessarily), filtering required. + * @param string $reason 'edit' for save user edit, 'register' for save registration + */ + function rollbackFieldDataSave( &$field, &$user, &$postdata, $reason ) { + } + /** * Validator: * Validates $value for $field->required and other rules * Override