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

« back to all changes in this revision

Viewing changes to mod/label/db/upgrade.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: upgrade.php,v 1.1 2006/10/26 17:33:42 stronk7 Exp $
 
1
<?php  //$Id: upgrade.php,v 1.1.8.2 2008/07/11 02:54:54 moodler Exp $
2
2
 
3
3
// This file keeps track of upgrades to 
4
4
// the label module
32
32
///     $result = result of "/lib/ddllib.php" function calls
33
33
/// }
34
34
 
 
35
//===== 1.9.0 upgrade line ======//
 
36
    if ($oldversion < 2007101510) {
 
37
        execute_sql("UPDATE {$CFG->prefix}log_display SET mtable = 'label' WHERE module = 'label'", 'false');
 
38
    }
 
39
 
35
40
    return $result;
36
41
}
37
42