Enabling/disabling permissions for news & announcements

(Required translations)
This commit is contained in:
Ice
2008-03-05 12:00:02 +00:00
parent 0a8140d449
commit 7ae7f81c86
8 changed files with 40 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
<?php
$current_version = '0.2.2';
$current_version = '0.2.3';
// If only checking version, exit.
if( defined('IN_PHPBB') )

View File

@@ -69,5 +69,9 @@ INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_birt
# Version 0.2.2 #
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_attachments_forum_ids', '');
# Version 0.2.3 #
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements_permissions', '1');
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news_permissions', '1');
# POSTGRES COMMIT #

View File

@@ -10,4 +10,10 @@ $sql_update['0.2.0'] = array(
$sql_update['0.2.2'] = array(
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_attachments_forum_ids', '')",
);
$sql_update['0.2.3'] = array(
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_announcements_persmissions', '1')",
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_news_persmissions', '1')",
);
?>