Skip to content
Browse files

Merge remote-tracking branch 'cesar/ticket-63096'

  • Loading branch information...
2 parents 3cfddcd + 2c1e7e4 commit 84b10d9193bd6db756192e9b3d0d66891bb775ac @michaelcullum michaelcullum committed Apr 17, 2012
Showing with 15 additions and 1 deletion.
  1. +1 −1 titania/common.php
  2. +1 −0 titania/includes/functions_install.php
  3. +13 −0 titania/includes/versions.php
View
2 titania/common.php
@@ -22,7 +22,7 @@
}
// Version number (only used for the installer)
-define('TITANIA_VERSION', '0.3.16');
+define('TITANIA_VERSION', '0.3.17');
define('PHPBB_USE_BOARD_URL_PATH', true);
if (!defined('IN_TITANIA_INSTALL'))
View
1 titania/includes/functions_install.php
@@ -177,6 +177,7 @@ function titania_custom($action, $version)
break;
case '0.3.16' :
+ case '0.3.17' :
$sql = 'SELECT DISTINCT topic_id, post_user_id
FROM ' . TITANIA_POSTS_TABLE . '
WHERE post_approved = 1 AND post_deleted = 0';
View
13 titania/includes/versions.php
@@ -683,5 +683,18 @@
),
'custom' => 'titania_custom',
),
+ '0.3.17' => array(
+ 'table_remove' => TITANIA_TOPICS_POSTED_TABLE,
+ 'table_add' => array(
+ array(TITANIA_TOPICS_POSTED_TABLE, array(
+ 'COLUMNS' => array(
+ 'user_id' => array('UINT', 0),
+ 'topic_id' => array('UINT', 0),
+ 'topic_posted' => array('TINT:1', 0)),
+ 'PRIMARY_KEY' => 'user_id, topic_id',
+ ),
+ )),
+ 'custom' => 'titania_custom',
+ ),
// IF YOU ADD A NEW VERSION DO NOT FORGET TO INCREMENT THE VERSION NUMBER IN common.php!
);

0 comments on commit 84b10d9

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