~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to user/profile/index_field_form.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php //$Id: index_field_form.php,v 1.4 2007/01/26 13:11:06 skodak Exp $
 
1
<?php //$Id: index_field_form.php,v 1.4.4.2 2008/04/25 12:20:02 skodak Exp $
2
2
 
3
3
require_once($CFG->dirroot.'/lib/formslib.php');
4
4
 
39
39
 
40
40
 
41
41
/// perform some moodle validation
42
 
    function validation ($data) {
43
 
        return $this->field->define_validate($data);
 
42
    function validation($data, $files) {
 
43
        return $this->field->define_validate($data, $files);
44
44
    }
45
45
}
46
46