Permalink
Browse files

Prevent unnecessary scroll to warning message during local version in…

…stallation/upgrade due to missing notification type on success
  • Loading branch information...
1 parent f2aa178 commit f27b2c4e6d1441148cb33b6a2dba85df4c1e1268 dwoolhead committed Jan 17, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/locallib.php
View
@@ -101,7 +101,7 @@ function upgrade_local_db($continueto) {
$db->debug=false;
if (set_config('local_version', $local_version)) {
notify(get_string('databasesuccess'), 'notifysuccess');
- notify(get_string('databaseupgradelocal', '', $local_version));
+ notify(get_string('databaseupgradelocal', '', $local_version), 'notifysuccess');
print_continue($continueto);
print_footer('none');
exit;

0 comments on commit f27b2c4

Please sign in to comment.