Enabling/disabling permissions for news & announcements
(Required translations)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$current_version = '0.2.2';
|
||||
$current_version = '0.2.3';
|
||||
|
||||
// If only checking version, exit.
|
||||
if( defined('IN_PHPBB') )
|
||||
|
||||
@@ -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 #
|
||||
|
||||
|
||||
@@ -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')",
|
||||
);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user