Skip to content

Commit

Permalink
MDL-33791 - fix upgrade.txt ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Nov 28, 2012
1 parent bd80fcc commit 8dd6b5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions portfolio/upgrade.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
This files describes API changes in /portfolio/ portfolio system,
information provided here is intended especially for developers.

=== 2.3 ===

required changes:
* The following methods must now be declared static for php5 compatibility:
- admin_config_form
- admin_config_validation

=== 2.4 ===

The set_callback_options function's third parameter has been changed from a file path
Expand All @@ -23,4 +16,11 @@ $button->set_callback_options('assignment_portfolio_caller', array('id' => $this

Now becomes:

$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');
$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');

=== 2.3 ===

required changes:
* The following methods must now be declared static for php5 compatibility:
- admin_config_form
- admin_config_validation

0 comments on commit 8dd6b5f

Please sign in to comment.