~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/ops/upgrade_db.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
// along with BOINC.  If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
// Perform DB updates.
21
 
// To be run in project/html/ops.
 
21
// Used by "upgrade".
 
22
// Can also be run manually in project/html/ops.
 
23
 
 
24
require_once("../inc/util_ops.inc");
22
25
 
23
26
echo "Checking for DB updates...\n";
24
27
 
51
54
    exit;
52
55
}
53
56
 
 
57
if ($argc > 1) {
 
58
    echo "\nWarning: you are upgrading only web or server code,\nbut these updates may affect the other code as well.\nWe recommend that you run 'upgrade' again to upgrade both parts of the code.\n\n";
 
59
}
 
60
 
54
61
foreach($updates as $update) {
55
62
    list($rev, $func) = $update;
56
63
    echo "performing update $func\n";