Skip to content
Browse files

[ticket/10601] updates the ucp_pm row in modules table

When upgrading to 3.1 the required database changes will be made

PHPBB3-10601
  • Loading branch information...
1 parent 1148d43 commit 30c47e81c7ea9a00fbebb2a258b24c4b5a498366 @dhruvgoel92 dhruvgoel92 committed with brunoais Apr 6, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 phpBB/install/database_update.php
View
6 phpBB/install/database_update.php
@@ -2363,6 +2363,12 @@ function change_database_data(&$no_updates, $version)
set_config('teampage_memberships', '1');
}
+ // Add module_basename ucp_pm for UCP_PM
+ $sql = "UPDATE " . MODULES_TABLE . "
+ SET module_basename = 'ucp_pm'
+ WHERE module_langname = 'UCP_PM'";
+ $db->sql_query($sql);
+
$no_updates = false;
break;

0 comments on commit 30c47e8

Please sign in to comment.
Something went wrong with that request. Please try again.